mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-16 23:48:27 +00:00
fix: verify command
This commit is contained in:
parent
c9bc13a1b2
commit
816019cb26
3 changed files with 3 additions and 3 deletions
2
dist/post_run/index.js
generated
vendored
2
dist/post_run/index.js
generated
vendored
|
|
@ -94054,7 +94054,7 @@ async function runLint(binPath, patchPath) {
|
||||||
printOutput(res);
|
printOutput(res);
|
||||||
}
|
}
|
||||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||||
const res = await execShellCommand(`${binPath} verify`);
|
const res = await execShellCommand(`${binPath} config verify`);
|
||||||
printOutput(res);
|
printOutput(res);
|
||||||
}
|
}
|
||||||
let userArgs = core.getInput(`args`);
|
let userArgs = core.getInput(`args`);
|
||||||
|
|
|
||||||
2
dist/run/index.js
generated
vendored
2
dist/run/index.js
generated
vendored
|
|
@ -94054,7 +94054,7 @@ async function runLint(binPath, patchPath) {
|
||||||
printOutput(res);
|
printOutput(res);
|
||||||
}
|
}
|
||||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||||
const res = await execShellCommand(`${binPath} verify`);
|
const res = await execShellCommand(`${binPath} config verify`);
|
||||||
printOutput(res);
|
printOutput(res);
|
||||||
}
|
}
|
||||||
let userArgs = core.getInput(`args`);
|
let userArgs = core.getInput(`args`);
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ async function runLint(binPath: string, patchPath: string): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||||
const res = await execShellCommand(`${binPath} verify`)
|
const res = await execShellCommand(`${binPath} config verify`)
|
||||||
printOutput(res)
|
printOutput(res)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue