Skip to content

Commit

Permalink
Revert ignoreReturnCode (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
fkorotkov authored May 15, 2024
1 parent 6d6f82e commit 091cfed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ export async function run(): Promise<void> {
// Run the SwiftLint binary and capture its standard output
const output = await exec.getExecOutput(
path.join(portableSwiftlintDir, 'swiftlint'),
['lint', '--reporter=json']
['lint', '--reporter=json'],
{
ignoreReturnCode: true
}
)

// Parse the SwiftLint's JSON output
Expand Down

0 comments on commit 091cfed

Please sign in to comment.