Skip to content

Commit 9771add

Browse files
authored
Merge pull request #331 from amsul/patch-1
2 parents e502cc4 + 7a357c5 commit 9771add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def cmd(self):
7272
cmd = ['eslint', '--format=json', '--stdin']
7373
stdin_filename = self.get_stdin_filename()
7474
if stdin_filename:
75-
cmd.append('--stdin-filename=' + stdin_filename)
75+
cmd.append('--stdin-filename=' + stdin_filename.replace('$', '\\$'))
7676
return cmd
7777

7878
def run(self, cmd, code):

0 commit comments

Comments
 (0)