pull/524/head
Frostebite 2023-03-24 17:52:17 +00:00
parent 96b79ba657
commit fd6d0c65e2
4 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -4250,7 +4250,7 @@ class RemoteClient {
return; return;
} }
else { else {
throw new Error(`${cloud_runner_folders_1.CloudRunnerFolders.repoPathAbsolute} repo exists, but no git folder, cleaning up`); cloud_runner_logger_1.default.log(`${cloud_runner_folders_1.CloudRunnerFolders.repoPathAbsolute} repo exists, but no git folder, cleaning up`);
} }
} }
remote_client_logger_1.RemoteClientLogger.log(`Initializing source repository for cloning with caching of LFS files`); remote_client_logger_1.RemoteClientLogger.log(`Initializing source repository for cloning with caching of LFS files`);
@ -5545,7 +5545,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('', '').toLowerCase().replace(/_+/g, ' ')); return this.camelize(element.toLowerCase().replace(/_+/g, ' '));
} }
static camelize(string) { static camelize(string) {
return TaskParameterSerializer.uncapitalizeFirstLetter(string return TaskParameterSerializer.uncapitalizeFirstLetter(string

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -101,7 +101,7 @@ export class RemoteClient {
return; return;
} else { } else {
throw new Error(`${CloudRunnerFolders.repoPathAbsolute} repo exists, but no git folder, cleaning up`); CloudRunnerLogger.log(`${CloudRunnerFolders.repoPathAbsolute} repo exists, but no git folder, cleaning up`);
} }
} }

View File

@ -95,7 +95,7 @@ export class TaskParameterSerializer {
} }
public static UndoEnvVarFormat(element: string): string { public static UndoEnvVarFormat(element: string): string {
return this.camelize(element.replace('', '').toLowerCase().replace(/_+/g, ' ')); return this.camelize(element.toLowerCase().replace(/_+/g, ' '));
} }
private static camelize(string: string) { private static camelize(string: string) {