Do not serialize custom job parameter
parent
a297d26ece
commit
747f85d217
|
|
@ -50,12 +50,6 @@ function runMain() {
|
|||
yield cli_1.Cli.RunCli();
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
process.exitCode = 1;
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
model_1.Action.checkCompatibility();
|
||||
model_1.Cache.verify();
|
||||
const { workspace, actionFolder } = model_1.Action;
|
||||
|
|
@ -4795,7 +4789,7 @@ class TaskParameterSerializer {
|
|||
return cloud_runner_options_1.default.ToEnvVarFormat(input);
|
||||
}
|
||||
static UndoEnvVarFormat(element) {
|
||||
return this.camelize(element.replace('GAMECI_', '').replace(/_+/g, '').toLowerCase());
|
||||
return this.camelize(element.replace('GAMECI_', '').toLowerCase().replace(/_+/g, ' '));
|
||||
}
|
||||
static camelize(string) {
|
||||
return string
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -10,11 +10,6 @@ async function runMain() {
|
|||
|
||||
return;
|
||||
}
|
||||
} catch (error) {
|
||||
process.exitCode = 1;
|
||||
throw error;
|
||||
}
|
||||
try {
|
||||
Action.checkCompatibility();
|
||||
Cache.verify();
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ export class TaskParameterSerializer {
|
|||
}
|
||||
|
||||
public static UndoEnvVarFormat(element): string {
|
||||
return this.camelize(element.replace('GAMECI_', '').replace(/_+/g, '').toLowerCase());
|
||||
return this.camelize(element.replace('GAMECI_', '').toLowerCase().replace(/_+/g, ' '));
|
||||
}
|
||||
|
||||
private static camelize(string) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue