Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2015-08-27 15:36:14 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2015-08-27 15:36:14 +0300
commit82ceb6b740d6ef5ca7d809520114cae6246863b4 (patch)
tree45e82066857a9413a58aff2280ab309266452782 /tasks
parent6e91344496698faa1d37eeb66172e5df4cdd187f (diff)
Fix comments in templates/project/_bootstrap-variables.sass
Diffstat (limited to 'tasks')
-rw-r--r--tasks/updater/scss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/updater/scss.rb b/tasks/updater/scss.rb
index c6b2b54..0c2bba9 100644
--- a/tasks/updater/scss.rb
+++ b/tasks/updater/scss.rb
@@ -27,7 +27,7 @@ class Updater
log_status 'Generating variable template file'
save_file 'templates/project/_bootstrap-variables.sass',
"// Override Bootstrap variables here (defaults from bootstrap v#{upstream_version}):\n\n" +
- File.read("#{save_to}/_variables.scss").lines[1..-1].join.gsub(/^(?=\$|\))/, '// ').gsub(/ !default/, '')
+ File.read("#{save_to}/_variables.scss").lines[1..-1].join.gsub(/^(?=\$|\)|[ ]{2})/, '// ').gsub(/ !default/, '')
end
end