Skip to content

Commit e0bddd7

Browse files
authored
Merge pull request #7137 from NativeScript/mdonev/release-to-master-7135
chore: merge release to master (#7135)
2 parents c5e046e + 037c54f commit e0bddd7

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)