pull/437/head
Frostebite 2022-10-13 20:22:42 +01:00
parent 6c8da57fab
commit ecf1c0fa3f
4 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -4446,7 +4446,7 @@ class CloudRunnerCustomHooks {
const gameCiCustomStepsPath = path_1.default.join(process.cwd(), `game-ci`, `steps`);
const files = fs.readdirSync(gameCiCustomStepsPath);
for (const file of files) {
if (!cloud_runner_options_1.default.customHookFiles.includes(file)) {
if (!cloud_runner_options_1.default.customHookFiles.includes(file.replace(`.yaml`, ``))) {
continue;
}
const fileContents = fs.readFileSync(path_1.default.join(gameCiCustomStepsPath, file), `utf8`);
@ -4568,7 +4568,7 @@ class CloudRunnerCustomSteps {
const gameCiCustomStepsPath = path_1.default.join(process.cwd(), `game-ci`, `steps`);
const files = fs.readdirSync(gameCiCustomStepsPath);
for (const file of files) {
if (!cloud_runner_options_1.default.customStepFiles.includes(file)) {
if (!cloud_runner_options_1.default.customStepFiles.includes(file.replace(`.yaml`, ``))) {
remote_client_logger_1.RemoteClientLogger.log(`Skipping CustomStepFile: ${file} (not in ${cloud_runner_options_1.default.customStepFiles})`);
continue;
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@ export class CloudRunnerCustomHooks {
const gameCiCustomStepsPath = path.join(process.cwd(), `game-ci`, `steps`);
const files = fs.readdirSync(gameCiCustomStepsPath);
for (const file of files) {
if (!CloudRunnerOptions.customHookFiles.includes(file)) {
if (!CloudRunnerOptions.customHookFiles.includes(file.replace(`.yaml`, ``))) {
continue;
}
const fileContents = fs.readFileSync(path.join(gameCiCustomStepsPath, file), `utf8`);

View File

@ -18,7 +18,7 @@ export class CloudRunnerCustomSteps {
const gameCiCustomStepsPath = path.join(process.cwd(), `game-ci`, `steps`);
const files = fs.readdirSync(gameCiCustomStepsPath);
for (const file of files) {
if (!CloudRunnerOptions.customStepFiles.includes(file)) {
if (!CloudRunnerOptions.customStepFiles.includes(file.replace(`.yaml`, ``))) {
RemoteClientLogger.log(`Skipping CustomStepFile: ${file} (not in ${CloudRunnerOptions.customStepFiles})`);
continue;
}