Do not serialize custom job parameter
parent
e06e4fba54
commit
a297d26ece
|
|
@ -4795,7 +4795,7 @@ class TaskParameterSerializer {
|
||||||
return cloud_runner_options_1.default.ToEnvVarFormat(input);
|
return cloud_runner_options_1.default.ToEnvVarFormat(input);
|
||||||
}
|
}
|
||||||
static UndoEnvVarFormat(element) {
|
static UndoEnvVarFormat(element) {
|
||||||
return this.camelize(element.replace('GAMECI_', '').replace('_', ' '));
|
return this.camelize(element.replace('GAMECI_', '').replace(/_+/g, '').toLowerCase());
|
||||||
}
|
}
|
||||||
static camelize(string) {
|
static camelize(string) {
|
||||||
return string
|
return string
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -116,7 +116,7 @@ export class TaskParameterSerializer {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static UndoEnvVarFormat(element): string {
|
public static UndoEnvVarFormat(element): string {
|
||||||
return this.camelize(element.replace('GAMECI_', '').replace('_', ' '));
|
return this.camelize(element.replace('GAMECI_', '').replace(/_+/g, '').toLowerCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static camelize(string) {
|
private static camelize(string) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue