FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: no trace message on empty app.css (#7135) · NativeScript/NativeScript@170d2a8 · GitHub

Commit 170d2a8

Browse files
authored
fix: no trace message on empty app.css (#7135)
1 parent 82f7e24 commit 170d2a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tns-core-modules/ui/styling/style-scope.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ class CSSSource {
168168
if (!this._source && this._file) {
169169
this.load();
170170
}
171-
if (this._source) {
171+
// [object Object] check guards against empty app.css file
172+
if (this._source && this.source !== "[object Object]") {
172173
this.parseCSSAst();
173174
}
174175
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL