Skip to content

Commit

Permalink
Change default from scss to sass syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Jul 14, 2015
1 parent d94ca1f commit 266046b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,12 @@ namespace Sass {
}
for(size_t i=0; i<extension.size();++i)
extension[i] = tolower(extension[i]);
if (extension == ".sass" && contents != 0) {
if (extension == ".scss" && contents != 0) {
return contents;
} else {
char * converted = sass2scss(contents, SASS2SCSS_PRETTIFY_1 | SASS2SCSS_KEEP_COMMENT);
free(contents); // free the indented contents
return converted; // should be freed by caller
} else {
return contents;
}
}

Expand Down

0 comments on commit 266046b

Please sign in to comment.