mirror of
https://github.com/werf/actions.git
synced 2026-02-05 10:56:23 +03:00
Fix typo in not supported werf version error
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as core from '@actions/core'
|
||||
import {PrepareEnvironAndRunWerfCommand} from './common'
|
||||
import {String} from 'typescript-string-operations'
|
||||
import { parseArgsStringToArgv } from 'string-argv'
|
||||
import {parseArgsStringToArgv} from 'string-argv'
|
||||
|
||||
async function run(): Promise<void> {
|
||||
try {
|
||||
@@ -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