Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.