RubyGems
npm
Organizations
Log in
Sign up
RubyGems
pre-commit
Versions diffs
0.1.14 → 0.1.15
pre-commit 0.1.14 → 0.1.15
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/pre-commit/checks/js_check.rb
+1
-1
metadata
+1
-1
data/lib/pre-commit/checks/js_check.rb
CHANGED
Viewed
@@ -19,7 +19,7 @@ class PreCommit
19
19
errors = []
20
20
21
21
js_files.each do |file|
22
-
error_list = run_check(file)
22
+
error_list =
Array(
run_check(file)
)
23
23
error_list.each { |error_object| errors << display_error(error_object, file) }
24
24
end
25
25
metadata
CHANGED
Viewed
@@ -2,7 +2,7 @@
2
2
name: pre-commit
3
3
version: !ruby/object:Gem::Version
4
4
prerelease:
5
-
version: 0.1.
14
5
+
version: 0.1.
15
6
6
platform: ruby
7
7
authors:
8
8
- Shajith Chacko, Josh Lubaway