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:
Diffstat (limited to 'commands/frontend.rb')
-rw-r--r--commands/frontend.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/frontend.rb b/commands/frontend.rb
index 0b669ef3..edc77ae3 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