pre-commit 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pre-commit/checks/jshint_check.rb +1 -1
- metadata +2 -2
@@ -16,7 +16,7 @@ class PreCommit
|
|
16
16
|
if should_run?(js_files)
|
17
17
|
run(js_files)
|
18
18
|
else
|
19
|
-
$stderr.puts 'pre-commit: Skipping JSHint check (to run it: `gem install therubyracer`)'
|
19
|
+
$stderr.puts 'pre-commit: Skipping JSHint check (to run it: `gem install therubyracer`)' if !ruby_racer_installed?
|
20
20
|
# pretend the check passed and move on
|
21
21
|
true
|
22
22
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pre-commit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.11
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Shajith Chacko, Josh Lubaway
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-17 00:00:00 -07:00
|
14
14
|
default_executable: pre-commit
|
15
15
|
dependencies: []
|
16
16
|
|