Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCLI cannot handle spaces in directory names #30
Comments
|
Thanks for reporting this; we'll look into improving the situation. |
|
We have a fix, which will be included in the upcoming 2.1.4 release of the CodeQL CLI. At the moment, we expect it to happen next week. |
When the CodeQL CLI is installed in a directory with spaces in the name (such as "Program Files"), it causes the command "codeql database create --language=java" to fail with the error "Unrecognized Option: Files\CodeQL\codeql-cli\java\tools/codeql-java-agent.jar=ignore-project,java". Moving the CLI to another directory fixes the problem (though, in my case, another problem arose).