Fix bug.
This commit is contained in:
1 parent
5a990fc245
commit
1f6e75f5e3
1 file changed
+1
-1
@@ -53,7 +53,7 @@ if bundle_update_flag
|
||||
filename = folder+'assets/stylesheets/template/base/_variables.scss'
|
||||
texts = File.open(filename,'r:UTF-8') do |f|
|
||||
f.read
|
||||
end.force_encoding('UTF-8')
|
||||
end.force_encoding('UTF-8').gsub(/(\r\n){2,}/, "\r\n")
|
||||
s1 = texts.scan(/{|}/)
|
||||
if s1.count % 2 != 0
|
||||
i = texts.rindex(s1[-1])
|
||||
|
||||
Reference in new issue
Block a user