We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61117a commit 57f88e5Copy full SHA for 57f88e5
src/source_map.cpp
@@ -50,8 +50,9 @@ namespace Sass {
50
JsonNode *json_content = json_mkstring(content);
51
json_append_element(json_contents, json_content);
52
}
53
+ if (json_contents->children.head)
54
+ json_append_member(json_srcmap, "sourcesContent", json_contents);
55
- json_append_member(json_srcmap, "sourcesContent", json_contents);
56
57
string mappings = serialize_mappings();
58
JsonNode *json_mappings = json_mkstring(mappings.c_str());
0 commit comments