Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Commit

Permalink
Fix for jslint executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Hallett committed Sep 9, 2010
1 parent 44f0cab commit 8f668c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jslint
Expand Up @@ -17,7 +17,7 @@ else
plugin_path = File.join(ENV['HOME'], '.vim')
end

Dir.chdir(File.join(plugin_path, 'plugin', 'jslint')) do |dir|
Dir.chdir(File.join(plugin_path, 'ftplugin', 'javascript', 'jslint')) do |dir|
IO.popen("#{js_cmd} runjslint.#{runjslint_ext}", 'r+') do |jslint|
jslint.write(File.open(target, 'r') { |f| f.read })
jslint.close_write
Expand Down

0 comments on commit 8f668c8

Please sign in to comment.