diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-07 16:57:43 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-13 12:23:03 -0600 |
commit | 8beb5998a8356feeb4ce75f7d749407bdd9034bc (patch) | |
tree | 3625eaaba4a17eb92c917235efa0a12a64fdf65f /lib/tasks | |
parent | 469bc859ce92b2ef8cb5be56376504e44e239197 (diff) | |
download | gitlab-ce-8beb5998a8356feeb4ce75f7d749407bdd9034bc.tar.gz |
replace npm run calls with yarn
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/eslint.rake | 2 | ||||
-rw-r--r-- | lib/tasks/karma.rake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/eslint.rake b/lib/tasks/eslint.rake index d43cbad1909..2514b050695 100644 --- a/lib/tasks/eslint.rake +++ b/lib/tasks/eslint.rake @@ -1,7 +1,7 @@ unless Rails.env.production? desc "GitLab | Run ESLint" task :eslint do - system("npm", "run", "eslint") + system("yarn", "run", "eslint") end end 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 |