mirror of
https://github.com/werf/actions.git
synced 2026-03-27 18:03:07 +03:00
Merge pull request #6 from flant/fix_typo_in_error_message
Fix typo in not supported werf version error
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11499,7 +11499,7 @@ function ValidateWerfVersion(version) {
|
||||
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;
|
||||
|
||||
|
||||
48875
cleanup/index.js
48875
cleanup/index.js
File diff suppressed because one or more lines are too long
49079
converge/index.js
49079
converge/index.js
File diff suppressed because one or more lines are too long
49079
deploy/index.js
49079
deploy/index.js
File diff suppressed because one or more lines are too long
49099
dismiss/index.js
49099
dismiss/index.js
File diff suppressed because one or more lines are too long
25958
install/index.js
25958
install/index.js
File diff suppressed because one or more lines are too long
@@ -11499,7 +11499,7 @@ function ValidateWerfVersion(version) {
|
||||
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;
|
||||
|
||||
|
||||
@@ -4207,7 +4207,7 @@ function run() {
|
||||
}
|
||||
// legacy
|
||||
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
|
||||
if (process.env.WERF_DRY_RUN) {
|
||||
@@ -11621,7 +11621,7 @@ function ValidateWerfVersion(version) {
|
||||
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;
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ export function ValidateWerfVersion(version: string): void {
|
||||
|
||||
throw new Error(
|
||||
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(),
|
||||
minimalWerfVersion
|
||||
)
|
||||
|
||||
@@ -17,7 +17,7 @@ async function run(): Promise<void> {
|
||||
// legacy
|
||||
if (process.env.WERF_DOCKER_OPTIONS) {
|
||||
args.push(
|
||||
String.Format("--docker-options={0}", process.env.WERF_DOCKER_OPTIONS)
|
||||
String.Format('--docker-options={0}', process.env.WERF_DOCKER_OPTIONS)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user