Swift: fix RUN_UNDER_FILTER check

This commit is contained in:
Paolo Tranquilli
2022-10-31 09:50:45 +01:00
parent 3dcdc739de
commit 80debe19e0

View File

@@ -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];
}