aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/pronto/eslint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pronto/eslint.rb b/lib/pronto/eslint.rb
index fa4261d..d57a408 100644
--- a/lib/pronto/eslint.rb
+++ b/lib/pronto/eslint.rb
@@ -16,7 +16,7 @@ module Pronto
16 16
17 offences = 17 offences =
18 Dir.chdir(@_repo_path) do 18 Dir.chdir(@_repo_path) do
19 JSON.parse(`eslint #{patch.new_file_full_path} -f json`) 19 JSON.parse(`eslint #{Shellwords.escape(patch.new_file_full_path)} -f json`)
20 end 20 end
21 21
22 offences = 22 offences =