1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 09:31:19 +01:00

Update index.js

This commit is contained in:
Minionguyjpro
2023-12-11 16:49:51 +01:00
committed by GitHub
parent aa53f5f6fd
commit e553b0a345

6
dist/index.js vendored
View File

@@ -19,10 +19,12 @@ if (process.platform === 'win32') {
} }
}); });
} else { } else {
error.code = 1;
core.setFailed('Error: The repository was not cloned. Please specify the actions/checkout action before this step.'); core.setFailed('Error: The repository was not cloned. Please specify the actions/checkout action before this step.');
process.exit(error.code || 1); process.exit(error.code);
} }
} else { } else {
error.code = 1;
core.setFailed('Error: This action is only supported on Windows!'); core.setFailed('Error: This action is only supported on Windows!');
process.exit(error.code || 1); process.exit(error.code);
} }