Skip to content

fix: make FileSystemResourceLoader sync#2040

Merged
elena-p merged 1 commit intoreleasefrom
sync-resouce-loader
Oct 28, 2019
Merged

fix: make FileSystemResourceLoader sync#2040
elena-p merged 1 commit intoreleasefrom
sync-resouce-loader

Conversation

@vakrilov
Copy link
Contributor

PR Checklist

What is the current behavior?

Since NativeScript/NativeScript#7671 File. readText() no longer resolves synchronously. This causes a Bootstrap promise didn't resolve error on startup for playground projects.

What is the new behavior?

Use readTextSync() method in the FileSystemResourceLoader so that resources are resolved synchronously again.

@cla-bot cla-bot bot added the cla: yes label Oct 25, 2019
@vakrilov
Copy link
Contributor Author

test

@elena-p elena-p merged commit f1f4faa into release Oct 28, 2019
@elena-p elena-p deleted the sync-resouce-loader branch October 28, 2019 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments