Skip to content

Commit

Permalink
Merge pull request #331 from amsul/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste committed Nov 10, 2023
2 parents e502cc4 + 7a357c5 commit 9771add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def cmd(self):
cmd = ['eslint', '--format=json', '--stdin']
stdin_filename = self.get_stdin_filename()
if stdin_filename:
cmd.append('--stdin-filename=' + stdin_filename)
cmd.append('--stdin-filename=' + stdin_filename.replace('$', '\\$'))
return cmd

def run(self, cmd, code):
Expand Down

0 comments on commit 9771add

Please sign in to comment.