Skip to content

Commit 091cfed

Browse files
authored
Revert ignoreReturnCode (#8)
1 parent 6d6f82e commit 091cfed

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

dist/index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ export async function run(): Promise<void> {
5454
// Run the SwiftLint binary and capture its standard output
5555
const output = await exec.getExecOutput(
5656
path.join(portableSwiftlintDir, 'swiftlint'),
57-
['lint', '--reporter=json']
57+
['lint', '--reporter=json'],
58+
{
59+
ignoreReturnCode: true
60+
}
5861
)
5962

6063
// Parse the SwiftLint's JSON output

0 commit comments

Comments
 (0)