Skip to content

Commit a227821

Browse files
committed
Merge pull request #2090 from sass/revert-1893-change/default-scss-to-sass
Revert "Change default from `scss` to `sass` syntax"
2 parents c1c14fd + ffb1ff5 commit a227821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ namespace Sass {
404404
}
405405
for(size_t i=0; i<extension.size();++i)
406406
extension[i] = tolower(extension[i]);
407-
if (extension != ".scss" && contents != 0) {
407+
if (extension == ".sass" && contents != 0) {
408408
char * converted = sass2scss(contents, SASS2SCSS_PRETTIFY_1 | SASS2SCSS_KEEP_COMMENT);
409409
free(contents); // free the indented contents
410410
return converted; // should be freed by caller

0 commit comments

Comments
 (0)