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

Commit

Permalink
Merge pull request #113 from AtomLinter/arcanemagus/fix-encoding-spec…
Browse files Browse the repository at this point in the history
…ification

Change how encoding is specified
  • Loading branch information
Arcanemagus authored Aug 28, 2017
2 parents 239d772 + 4a1d6ad commit 6a2660c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ export default {
return [];
}

const execArgs = ['-wc', '-Eutf-8'];
const execArgs = [
'-c', // Check syntax only, no execution
'-w', // Turns on warnings
// Set the encoding to UTF-8
'--external-encoding=utf-8',
'--internal-encoding=utf-8',
];
const execOpts = {
stdin: fileText,
stream: 'stderr',
Expand Down

0 comments on commit 6a2660c

Please sign in to comment.