From 023043a2da9098e7b8521a2ac62b7b5a470c40d9 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Fri, 6 Jan 2017 10:09:25 -0800 Subject: remove bootstrap-flex update handling since it's gone --- tasks/updater/scss.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tasks/updater/scss.rb b/tasks/updater/scss.rb index 939e09a..d92ff87 100644 --- a/tasks/updater/scss.rb +++ b/tasks/updater/scss.rb @@ -12,16 +12,14 @@ class Updater log_processed "#{bootstrap_scss_files * ' '}" log_status 'Updating scss main files' - %w(bootstrap bootstrap-flex bootstrap-grid bootstrap-reboot).each do |name| + %w(bootstrap bootstrap-grid bootstrap-reboot).each do |name| # Compass treats non-partials as targets to copy into the main project, so make them partials. # Also move them up a level to clearly indicate entry points. from = "#{save_to}/#{name}.scss" to = "#{save_to}/../_#{name}.scss" FileUtils.mv from, to - # As we moved the files, adjust imports accordingly (except for bootstrap-flex that imports the main bootstrap). - unless 'bootstrap-flex' == name - File.write to, File.read(to).gsub(/ "/, ' "bootstrap/') - end + # As we moved the files, adjust imports accordingly. + File.write to, File.read(to).gsub(/ "/, ' "bootstrap/') end log_status 'Generating variable template file' -- cgit v1.2.3