Skip to content

Commit

Permalink
fix(npm-groovy-lint): ignore exit code 1 (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Jun 25, 2024
1 parent 60e6fbd commit c26dadf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/conform/formatters/npm-groovy-lint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ return {
},
command = "npm-groovy-lint",
args = { "--fix", "$FILENAME" },
-- https://github.com/nvuillam/npm-groovy-lint/blob/14e2649ff7ca642dba3e901c17252b178bea8b1b/lib/groovy-lint.js#L48
exit_codes = { 0, 1 }, -- 1 = expected error
stdin = false,
}

0 comments on commit c26dadf

Please sign in to comment.