experimental pre-post hooks
parent
e567f80908
commit
ab042e9a9e
|
|
@ -2532,7 +2532,7 @@ class CloudRunnerBuildCommandProcessor {
|
||||||
}
|
}
|
||||||
static getHooks() {
|
static getHooks() {
|
||||||
const experimentHooks = process.env.EXPERIMENTAL_HOOKS;
|
const experimentHooks = process.env.EXPERIMENTAL_HOOKS;
|
||||||
let output = new Hook[0]();
|
let output = new Array();
|
||||||
if (experimentHooks && experimentHooks !== '') {
|
if (experimentHooks && experimentHooks !== '') {
|
||||||
try {
|
try {
|
||||||
output = yaml_1.default.parse(experimentHooks);
|
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[] {
|
public static getHooks(): Hook[] {
|
||||||
const experimentHooks = process.env.EXPERIMENTAL_HOOKS;
|
const experimentHooks = process.env.EXPERIMENTAL_HOOKS;
|
||||||
let output = new Hook[0]();
|
let output = new Array<Hook>();
|
||||||
if (experimentHooks && experimentHooks !== '') {
|
if (experimentHooks && experimentHooks !== '') {
|
||||||
try {
|
try {
|
||||||
output = YAML.parse(experimentHooks);
|
output = YAML.parse(experimentHooks);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue