Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2020-11-16 15:02:24 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-11-16 15:02:24 +0300
commit0a4831d6f47fef66f5a6932809a9ebb739a904ef (patch)
tree031263df6c80331ee9d4f0f3d6ad1f308d2f4808 /commands
parentb8756c2ca2fee681ba1bdeaed8de2363fefd6b1f (diff)
parentcdd20c2bceded5251d47041a7f8dd8795f8e3ff6 (diff)
Merge branch 'eread/fix-even-more-rubocop-problems' into 'master'
Fix even more Rubocop problems See merge request gitlab-org/gitlab-docs!1308
Diffstat (limited to 'commands')
-rw-r--r--commands/frontend.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/commands/frontend.rb b/commands/frontend.rb
index 2473a277..ed4a5346 100644
--- a/commands/frontend.rb
+++ b/commands/frontend.rb
@@ -9,19 +9,21 @@ flag :h, :help, 'show help for this command' do |value, cmd|
end
run do |opts, args, cmd|
puts 'Compiling JavaScript...'
+
unless system('yarn install --frozen-lockfile')
abort <<~ERROR
Error: failed to run yarn. JavaScript compilation failed. For more information, see:
https://gitlab.com/gitlab-org/gitlab-docs/blob/master/README.md
- ERROR
+ ERROR
end
+
unless system('yarn bundle')
abort <<~ERROR
Error: failed to run yarn. JavaScript compilation failed. For more information, see:
https://gitlab.com/gitlab-org/gitlab-docs/blob/master/README.md
- ERROR
+ ERROR
end
puts 'Create icons.svg ...'