experimental pre-post hooks
parent
e567f80908
commit
ab042e9a9e
|
|
@ -2532,7 +2532,7 @@ class CloudRunnerBuildCommandProcessor {
|
|||
}
|
||||
static getHooks() {
|
||||
const experimentHooks = process.env.EXPERIMENTAL_HOOKS;
|
||||
let output = new Hook[0]();
|
||||
let output = new Array();
|
||||
if (experimentHooks && experimentHooks !== '') {
|
||||
try {
|
||||
output = yaml_1.default.parse(experimentHooks);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -37,7 +37,7 @@ export class CloudRunnerBuildCommandProcessor {
|
|||
|
||||
public static getHooks(): Hook[] {
|
||||
const experimentHooks = process.env.EXPERIMENTAL_HOOKS;
|
||||
let output = new Hook[0]();
|
||||
let output = new Array<Hook>();
|
||||
if (experimentHooks && experimentHooks !== '') {
|
||||
try {
|
||||
output = YAML.parse(experimentHooks);
|
||||
|
|
|
|||
Loading…
Reference in New Issue