1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] Suggest using --in-place when converting sass2 to sass3.

This commit is contained in:
Nathan Weizenbaum 2010-06-01 14:13:46 -07:00
parent 0c51d7caad
commit a68bd19ccc
2 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,11 @@
* Table of contents
{:toc}
## 3.0.9 (Unreleased)
* When using `sass-convert --from sass2 --to sass --recursive`,
suggest the use of `--in-place` as well.
## 3.0.8
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.8).

View file

@ -710,6 +710,8 @@ END
end
@options[:output] ||= @options[:input]
from = @options[:from]
from = :sass if from == :sass2
if @options[:to] == @options[:from] && !@options[:in_place]
fmt = @options[:from]
raise "Error: converting from #{fmt} to #{fmt} without --in-place"