pipeline improvements
parent
7359f2caae
commit
53f3a1d6ae
|
@ -4747,7 +4747,11 @@ class CloudRunnerCustomHooks {
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return output.filter((x) => x.hook !== undefined && x.hook.length > 0);
|
return [
|
||||||
|
...output.filter((x) => x.hook !== undefined && x.hook.length > 0),
|
||||||
|
...CloudRunnerCustomHooks.GetCustomHooksFromFiles(`before`),
|
||||||
|
...CloudRunnerCustomHooks.GetCustomHooksFromFiles(`after`),
|
||||||
|
];
|
||||||
}
|
}
|
||||||
static GetCustomHooksFromFiles(hookLifecycle) {
|
static GetCustomHooksFromFiles(hookLifecycle) {
|
||||||
const results = [];
|
const results = [];
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -35,7 +35,11 @@ export class CloudRunnerCustomHooks {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return output.filter((x) => x.hook !== undefined && x.hook.length > 0);
|
return [
|
||||||
|
...output.filter((x) => x.hook !== undefined && x.hook.length > 0),
|
||||||
|
...CloudRunnerCustomHooks.GetCustomHooksFromFiles(`before`),
|
||||||
|
...CloudRunnerCustomHooks.GetCustomHooksFromFiles(`after`),
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
static GetCustomHooksFromFiles(hookLifecycle: string): Hook[] {
|
static GetCustomHooksFromFiles(hookLifecycle: string): Hook[] {
|
||||||
|
|
Loading…
Reference in New Issue