cleanup
parent
6c8da57fab
commit
ecf1c0fa3f
|
|
@ -4446,7 +4446,7 @@ class CloudRunnerCustomHooks {
|
||||||
const gameCiCustomStepsPath = path_1.default.join(process.cwd(), `game-ci`, `steps`);
|
const gameCiCustomStepsPath = path_1.default.join(process.cwd(), `game-ci`, `steps`);
|
||||||
const files = fs.readdirSync(gameCiCustomStepsPath);
|
const files = fs.readdirSync(gameCiCustomStepsPath);
|
||||||
for (const file of files) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
const fileContents = fs.readFileSync(path_1.default.join(gameCiCustomStepsPath, file), `utf8`);
|
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 gameCiCustomStepsPath = path_1.default.join(process.cwd(), `game-ci`, `steps`);
|
||||||
const files = fs.readdirSync(gameCiCustomStepsPath);
|
const files = fs.readdirSync(gameCiCustomStepsPath);
|
||||||
for (const file of files) {
|
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})`);
|
remote_client_logger_1.RemoteClientLogger.log(`Skipping CustomStepFile: ${file} (not in ${cloud_runner_options_1.default.customStepFiles})`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -45,7 +45,7 @@ export class CloudRunnerCustomHooks {
|
||||||
const gameCiCustomStepsPath = path.join(process.cwd(), `game-ci`, `steps`);
|
const gameCiCustomStepsPath = path.join(process.cwd(), `game-ci`, `steps`);
|
||||||
const files = fs.readdirSync(gameCiCustomStepsPath);
|
const files = fs.readdirSync(gameCiCustomStepsPath);
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
if (!CloudRunnerOptions.customHookFiles.includes(file)) {
|
if (!CloudRunnerOptions.customHookFiles.includes(file.replace(`.yaml`, ``))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const fileContents = fs.readFileSync(path.join(gameCiCustomStepsPath, file), `utf8`);
|
const fileContents = fs.readFileSync(path.join(gameCiCustomStepsPath, file), `utf8`);
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ export class CloudRunnerCustomSteps {
|
||||||
const gameCiCustomStepsPath = path.join(process.cwd(), `game-ci`, `steps`);
|
const gameCiCustomStepsPath = path.join(process.cwd(), `game-ci`, `steps`);
|
||||||
const files = fs.readdirSync(gameCiCustomStepsPath);
|
const files = fs.readdirSync(gameCiCustomStepsPath);
|
||||||
for (const file of files) {
|
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})`);
|
RemoteClientLogger.log(`Skipping CustomStepFile: ${file} (not in ${CloudRunnerOptions.customStepFiles})`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue