Merge pull request #6 from flant/fix_typo_in_error_message

Fix typo in not supported werf version error
This commit is contained in:
Alexey Igrychev
2020-06-04 23:51:13 +01:00
committed by GitHub
11 changed files with 135998 additions and 135993 deletions
+24531 -24530
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11499,7 +11499,7 @@ function ValidateWerfVersion(version) {
return; return;
} }
} }
throw new Error(typescript_string_operations_1.String.Format('werf version {0} is not supported (expected version should be equal or lower than {1})', version.trim(), minimalWerfVersion)); throw new Error(typescript_string_operations_1.String.Format('werf version {0} is not supported (expected version should be equal or greater than {1})', version.trim(), minimalWerfVersion));
} }
exports.ValidateWerfVersion = ValidateWerfVersion; exports.ValidateWerfVersion = ValidateWerfVersion;
+24438 -24437
View File
File diff suppressed because one or more lines are too long
+24540 -24539
View File
File diff suppressed because one or more lines are too long
+24540 -24539
View File
File diff suppressed because one or more lines are too long
+24550 -24549
View File
File diff suppressed because one or more lines are too long
+12979 -12979
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11499,7 +11499,7 @@ function ValidateWerfVersion(version) {
return; return;
} }
} }
throw new Error(typescript_string_operations_1.String.Format('werf version {0} is not supported (expected version should be equal or lower than {1})', version.trim(), minimalWerfVersion)); throw new Error(typescript_string_operations_1.String.Format('werf version {0} is not supported (expected version should be equal or greater than {1})', version.trim(), minimalWerfVersion));
} }
exports.ValidateWerfVersion = ValidateWerfVersion; exports.ValidateWerfVersion = ValidateWerfVersion;
+2 -2
View File
@@ -4207,7 +4207,7 @@ function run() {
} }
// legacy // legacy
if (process.env.WERF_DOCKER_OPTIONS) { if (process.env.WERF_DOCKER_OPTIONS) {
args.push(typescript_string_operations_1.String.Format("--docker-options={0}", process.env.WERF_DOCKER_OPTIONS)); args.push(typescript_string_operations_1.String.Format('--docker-options={0}', process.env.WERF_DOCKER_OPTIONS));
} }
// legacy // legacy
if (process.env.WERF_DRY_RUN) { if (process.env.WERF_DRY_RUN) {
@@ -11621,7 +11621,7 @@ function ValidateWerfVersion(version) {
return; return;
} }
} }
throw new Error(typescript_string_operations_1.String.Format('werf version {0} is not supported (expected version should be equal or lower than {1})', version.trim(), minimalWerfVersion)); throw new Error(typescript_string_operations_1.String.Format('werf version {0} is not supported (expected version should be equal or greater than {1})', version.trim(), minimalWerfVersion));
} }
exports.ValidateWerfVersion = ValidateWerfVersion; exports.ValidateWerfVersion = ValidateWerfVersion;
+1 -1
View File
@@ -73,7 +73,7 @@ export function ValidateWerfVersion(version: string): void {
throw new Error( throw new Error(
String.Format( String.Format(
'werf version {0} is not supported (expected version should be equal or lower than {1})', 'werf version {0} is not supported (expected version should be equal or greater than {1})',
version.trim(), version.trim(),
minimalWerfVersion minimalWerfVersion
) )
+1 -1
View File
@@ -17,7 +17,7 @@ async function run(): Promise<void> {
// legacy // legacy
if (process.env.WERF_DOCKER_OPTIONS) { if (process.env.WERF_DOCKER_OPTIONS) {
args.push( args.push(
String.Format("--docker-options={0}", process.env.WERF_DOCKER_OPTIONS) String.Format('--docker-options={0}', process.env.WERF_DOCKER_OPTIONS)
) )
} }