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 d57a408..a2ec738 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 #{Shellwords.escape(patch.new_file_full_path)} -f json`) 19 JSON.parse(`eslint #{Shellwords.escape(patch.new_file_full_path.to_s)} -f json`)
20 end 20 end
21 21
22 offences = 22 offences =