Skip to content

Commit 80debe1

Browse files
committed
Swift: fix RUN_UNDER_FILTER check
1 parent 3dcdc73 commit 80debe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void checkToRunUnderTool(int argc, char* const* argv) {
7171
if (runUnderFilter != nullptr) {
7272
assert(argc > 0);
7373
std::string call = argv[0];
74-
for (auto i = 0; i < argc; ++i) {
74+
for (auto i = 1; i < argc; ++i) {
7575
call += ' ';
7676
call += argv[i];
7777
}

0 commit comments

Comments
 (0)