Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 4761a56

Browse files
committed
Fixes double conversion from sass files
1 parent 92489d2 commit 4761a56

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

file.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,7 @@ namespace Sass {
161161
}
162162
for(int i=0; i<extension.size();++i)
163163
extension[i] = tolower(extension[i]);
164-
if (extension == ".sass" && contents != 0) {
165-
char * converted = Sass::sass2scss(contents, SASS2SCSS_PRETTIFY_1);
166-
delete[] contents; // free the indented contents
167-
return converted; // should be freed by caller
168-
} else {
169-
return contents;
170-
}
164+
return contents;
171165
}
172166

173167
char* read_file(string path)

0 commit comments

Comments
 (0)