mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-20 09:24:39 +00:00
fix format
This commit is contained in:
parent
00d2fbba7a
commit
86bb75a024
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ async function runLint(lintPath: string, patchPath: string): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
const outputFile = core.getInput(`output-file`, { required: false }).trim()
|
const outputFile = core.getInput(`output-file`, { required: false }).trim()
|
||||||
addedArgs.push(`--out-format=github-actions${outputFile ? ',' + outputFile : ''}`)
|
addedArgs.push(`--out-format=github-actions${outputFile ? "," + outputFile : ""}`)
|
||||||
|
|
||||||
if (patchPath) {
|
if (patchPath) {
|
||||||
if (userArgNames.has(`new`) || userArgNames.has(`new-from-rev`) || userArgNames.has(`new-from-patch`)) {
|
if (userArgNames.has(`new`) || userArgNames.has(`new-from-rev`) || userArgNames.has(`new-from-patch`)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue