diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-08 01:57:43 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-13 21:23:03 +0300 |
commit | 8beb5998a8356feeb4ce75f7d749407bdd9034bc (patch) | |
tree | 3625eaaba4a17eb92c917235efa0a12a64fdf65f /lib/tasks/karma.rake | |
parent | 469bc859ce92b2ef8cb5be56376504e44e239197 (diff) |
replace npm run calls with yarn
Diffstat (limited to 'lib/tasks/karma.rake')
-rw-r--r-- | lib/tasks/karma.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/karma.rake b/lib/tasks/karma.rake index 89812a179ec..35cfed9dc75 100644 --- a/lib/tasks/karma.rake +++ b/lib/tasks/karma.rake @@ -11,7 +11,7 @@ unless Rails.env.production? desc 'GitLab | Karma | Run JavaScript tests' task :tests do - sh "npm run karma" do |ok, res| + sh "yarn run karma" do |ok, res| abort('rake karma:tests failed') unless ok end end |