Fix problems parsing

This commit is contained in:
Denis Isaev
2020-05-04 19:39:04 +03:00
parent b030249340
commit f7d08adb03
5 changed files with 11 additions and 4 deletions

2
dist/run/index.js vendored
View File

@ -5733,7 +5733,7 @@ function runLint(lintPath) {
if (args.includes(`-out-format`)) {
throw new Error(`please, don't change out-format for golangci-lint: it can be broken in a future`);
}
const cmd = `${lintPath} run ${args}`.trimRight();
const cmd = `${lintPath} run --out-format=github-actions ${args}`.trimRight();
core.info(`Running [${cmd}] ...`);
const startedAt = Date.now();
try {