Skip to content

Commit c1c14fd

Browse files
committed
Merge pull request #1893 from mgreter/change/default-scss-to-sass
Change default from `scss` to `sass` syntax
2 parents ff4391f + 3a631d9 commit c1c14fd

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 == ".sass" && contents != 0) {
407+
if (extension != ".scss" && 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)