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

Commit f4a6026

Browse files
committed
Fix encoding specification
With the space in there some platforms treat the encoding as ` utf-8` instead of the desired `utf-8`. Since the `ruby` help text shows no space in there in the first place, this is more correct and works on platforms where it was broken before.
1 parent 8e04541 commit f4a6026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default {
3636
return [];
3737
}
3838

39-
const execArgs = ['-wc', '-E utf-8'];
39+
const execArgs = ['-wc', '-Eutf-8'];
4040
const execOpts = {
4141
stdin: fileText,
4242
stream: 'stderr',

0 commit comments

Comments
 (0)