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:
authorEvan Read <eread@gitlab.com>2022-06-13 01:42:34 +0300
committerEvan Read <eread@gitlab.com>2022-06-13 01:42:34 +0300
commit52f54b5e35923314fa96046c4c1a256344f46328 (patch)
tree04a2cb29139ca1b2c375fa7cc65dc8361929581b /commands
parentfef84c1eb52354395c42b8087aca5db67b890f2b (diff)
Fix Style/RedundantInterpolation RuboCop offenseseread/fix-redundant-interpolation-rubocop-offenses
Diffstat (limited to 'commands')
-rw-r--r--commands/frontend.rb2
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