mirror of
https://github.com/gadievron/raptor.git
synced 2026-04-24 21:46:00 +03:00
[PR #37] Fix CodeQL --command argument parsing for multi-word commands #47
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/raptor#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/gadievron/raptor/pull/37
Author: @AndrewMohawk
Created: 12/21/2025
Status: 🔄 Open
Base:
main← Head:fix/codeql-command-quoting📝 Commits (1)
f9fded8Fix CodeQL build command handling for shell operators📊 Changes
1 file changed (+130 additions, -3 deletions)
View changed files
📝
packages/codeql/database_manager.py(+130 -3)📄 Description
Summary
npm install && npm run build)--command=valuesyntax to--command value(separate arguments)Problem
When running CodeQL database creation with multi-word build commands, the command was being split incorrectly:
Solution
Use
cmd.extend(["--command", build_system.command])instead ofcmd.append(f"--command={build_system.command}")to ensure the entire command string is passed as a single argument to CodeQL.Test plan
npm install && npm run buildcommand🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.