fix: no trace message on empty app.css (#7135)

This commit is contained in:
Manol Donev
2019-04-12 11:36:38 +03:00
committed by GitHub
parent 82f7e24b80
commit 170d2a84eb

View File

@@ -168,7 +168,8 @@ class CSSSource {
if (!this._source && this._file) {
this.load();
}
if (this._source) {
// [object Object] check guards against empty app.css file
if (this._source && this.source !== "[object Object]") {
this.parseCSSAst();
}
}