lib/pre-commit/checks/js_check.rb in pre-commit-0.6.1 vs lib/pre-commit/checks/js_check.rb in pre-commit-0.7.0

- old
+ new

@@ -1,9 +1,9 @@ require 'pre-commit/base' require 'pre-commit/utils' require 'execjs' -class PreCommit +module PreCommit class JsCheck def call js_files = reject_non_js(files_to_check) if should_run?(js_files)