diff options
author | Evan Read <eread@gitlab.com> | 2020-11-13 01:46:16 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2020-11-13 01:46:16 +0300 |
commit | cdd20c2bceded5251d47041a7f8dd8795f8e3ff6 (patch) | |
tree | 285e71d674a42adb4f0242b1e8faeb1ff8c55e72 /commands/frontend.rb | |
parent | 1495bb1e6aacd7389155ca48ecaddd221ea0efd7 (diff) |
Fix even more Rubocop problems
Diffstat (limited to 'commands/frontend.rb')
-rw-r--r-- | commands/frontend.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/commands/frontend.rb b/commands/frontend.rb index 24d64d4b..366d04e8 100644 --- a/commands/frontend.rb +++ b/commands/frontend.rb @@ -9,18 +9,20 @@ 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 end |