mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Swift: fix RUN_UNDER_FILTER check
This commit is contained in:
@@ -71,7 +71,7 @@ void checkToRunUnderTool(int argc, char* const* argv) {
|
||||
if (runUnderFilter != nullptr) {
|
||||
assert(argc > 0);
|
||||
std::string call = argv[0];
|
||||
for (auto i = 0; i < argc; ++i) {
|
||||
for (auto i = 1; i < argc; ++i) {
|
||||
call += ' ';
|
||||
call += argv[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user