diff options
author | Evan Read <eread@gitlab.com> | 2022-06-10 04:15:49 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-06-10 04:24:05 +0300 |
commit | 95ecd4954ea689149d9a610aca5986bb500339b6 (patch) | |
tree | 270b010fd5bc210239b752d13d77511bd27c0285 /commands | |
parent | af999a0769cb4f3e405b5a212ce5cadbdc31c5e6 (diff) |
Fix Style/IfUnlessModifier RuboCop offenseseread/fix-if-unless-modifier-rubocop-offenses
Diffstat (limited to 'commands')
-rw-r--r-- | commands/frontend.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/frontend.rb b/commands/frontend.rb index 0b669ef38..edc77ae35 100644 --- a/commands/frontend.rb +++ b/commands/frontend.rb @@ -44,8 +44,6 @@ run do |opts, args, cmd| Dir.mkdir gl_ui_dest Dir.children("#{gl_ui_src}").each do |filename| - if filename.include?("css") && File.write("#{gl_ui_dest}/#{filename}", File.read("#{root}/#{gl_ui_src}/#{filename}")) - puts "Copied #{gl_ui_src}/#{filename}" - end + puts "Copied #{gl_ui_src}/#{filename}" if filename.include?("css") && File.write("#{gl_ui_dest}/#{filename}", File.read("#{root}/#{gl_ui_src}/#{filename}")) end end |