experimental pre-post hooks

pull/310/head
Frostebite 2022-01-01 17:52:19 +00:00
parent e567f80908
commit ab042e9a9e
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -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);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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);