Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit 991600f

Browse files
committed
fixing error with shell command installing karma
1 parent b7f0570 commit 991600f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@ Update config/karma.conf.js to load the files you want to test and run `rake kar
5656

5757
## Changelog
5858

59+
### 0.1.2
60+
- fixing error with shell command installing karma
61+
5962
### 0.1.1
6063
- initial release

lib/rails_karma/tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def self.karma
3939
end
4040
unless File.open('package.json') {|f| f.read.include? 'karma'}
4141
puts 'installing karma'
42-
sh 'npm install karma --save-dev'
42+
puts `npm install karma --save-dev`
4343
end
4444
unless File.open('.gitignore') {|f| f.read.include? 'node_modules'}
4545
puts 'adding node_modules to .gitignore'

lib/rails_karma/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RailsKarma
2-
VERSION = "0.1.1"
2+
VERSION = "0.1.2"
33
end

0 commit comments

Comments
 (0)