diff options
author | Evan Read <eread@gitlab.com> | 2022-06-13 01:42:34 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-06-13 01:42:34 +0300 |
commit | 52f54b5e35923314fa96046c4c1a256344f46328 (patch) | |
tree | 04a2cb29139ca1b2c375fa7cc65dc8361929581b /commands | |
parent | fef84c1eb52354395c42b8087aca5db67b890f2b (diff) |
Fix Style/RedundantInterpolation RuboCop offenseseread/fix-redundant-interpolation-rubocop-offenses
Diffstat (limited to 'commands')
-rw-r--r-- | commands/frontend.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/frontend.rb b/commands/frontend.rb index edc77ae3..551602fb 100644 --- a/commands/frontend.rb +++ b/commands/frontend.rb @@ -43,7 +43,7 @@ run do |opts, args, cmd| gl_ui_dest = 'public/assets/stylesheets/gitlab-ui' Dir.mkdir gl_ui_dest - Dir.children("#{gl_ui_src}").each do |filename| + Dir.children(gl_ui_src).each do |filename| 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 |