mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Our existing configure-baseline scripts would give the wrong result if a `vendor` directory wasn't at the root of the repository, or if the `CODEQL_EXTRACTOR_GO_EXTRACT_VENDOR_DIRS` variable was set to `true` indicating the user wants their vendored code scanned. Here I replace the shell scripts that implemented the very simplest behaviour with a small Go program.
4 lines
84 B
Bash
Executable File
4 lines
84 B
Bash
Executable File
#!/bin/sh
|
|
|
|
"$CODEQL_EXTRACTOR_GO_ROOT/tools/$CODEQL_PLATFORM/go-configure-baseline"
|