mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-13 06:21:15 +00:00
chore: more logs
This commit is contained in:
parent
0ec7daf6a5
commit
6cfba591bb
3 changed files with 11 additions and 3 deletions
4
dist/post_run/index.js
generated
vendored
4
dist/post_run/index.js
generated
vendored
|
|
@ -94124,7 +94124,9 @@ async function runLint(binPath, patchPath) {
|
|||
cmdArgs.cwd = path.resolve(workingDirectory);
|
||||
}
|
||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||
const res = await execShellCommand(`${binPath} config verify`, cmdArgs);
|
||||
const cmdVerify = `${binPath} config verify`;
|
||||
core.info(`Running [${cmdVerify}] in [${cmdArgs.cwd || process.cwd()}] ...`);
|
||||
const res = await execShellCommand(cmdVerify, cmdArgs);
|
||||
printOutput(res);
|
||||
}
|
||||
const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd();
|
||||
|
|
|
|||
4
dist/run/index.js
generated
vendored
4
dist/run/index.js
generated
vendored
|
|
@ -94124,7 +94124,9 @@ async function runLint(binPath, patchPath) {
|
|||
cmdArgs.cwd = path.resolve(workingDirectory);
|
||||
}
|
||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||
const res = await execShellCommand(`${binPath} config verify`, cmdArgs);
|
||||
const cmdVerify = `${binPath} config verify`;
|
||||
core.info(`Running [${cmdVerify}] in [${cmdArgs.cwd || process.cwd()}] ...`);
|
||||
const res = await execShellCommand(cmdVerify, cmdArgs);
|
||||
printOutput(res);
|
||||
}
|
||||
const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd();
|
||||
|
|
|
|||
|
|
@ -138,7 +138,11 @@ async function runLint(binPath: string, patchPath: string): Promise<void> {
|
|||
}
|
||||
|
||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||
const res = await execShellCommand(`${binPath} config verify`, cmdArgs)
|
||||
const cmdVerify = `${binPath} config verify`
|
||||
|
||||
core.info(`Running [${cmdVerify}] in [${cmdArgs.cwd || process.cwd()}] ...`)
|
||||
|
||||
const res = await execShellCommand(cmdVerify, cmdArgs)
|
||||
printOutput(res)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue