Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 174de4d

Browse files
committed
Allow no output
On files that have no issues, `ruby -wc` gives no output.
1 parent f4a6026 commit 174de4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export default {
4040
const execOpts = {
4141
stdin: fileText,
4242
stream: 'stderr',
43+
allowEmptyStderr: true,
4344
};
4445
const output = await helpers.exec(this.executablePath, execArgs, execOpts);
4546
if (textEditor.getText() !== fileText) {

0 commit comments

Comments
 (0)