Created
September 26, 2016 22:52
-
-
Save stellimatt/25f6ff56b4f86798d7b73a6738fcc15a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def execute_jslint(working_directory:) | |
Dir.chdir(working_directory) do | |
puts "Running jslint on #{working_directory}..." | |
results = `find . -name "*.js" -print0 | xargs -0 jslint` | |
puts results | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment