We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9cbac1 commit 76d9c6cCopy full SHA for 76d9c6c
1 file changed
lib/csscomb.js
@@ -90,11 +90,9 @@ Comb.prototype = {
90
* @param {String} filename
91
*/
92
processString: function(text, filename) {
93
+ if (!text) return text;
94
var tree;
95
var string = JSON.stringify;
- if (typeof text === 'undefined') {
96
- throw new Error('Undefined file content ' + filename + ': ' + string(text));
97
- }
98
try {
99
tree = gonzales.srcToCSSP(text);
100
} catch (e) {
0 commit comments