We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9568b80 commit f1f4faaCopy full SHA for f1f4faa
nativescript-angular/resource-loader.ts
@@ -16,12 +16,12 @@ export class FileSystemResourceLoader extends ResourceLoader {
16
super();
17
}
18
19
- get(url: string): Promise<string> {
+ get(url: string): string {
20
const resolvedPath = this.resolve(url);
21
22
const templateFile = this.fs.fileFromPath(resolvedPath);
23
24
- return templateFile.readText();
+ return templateFile.readTextSync();
25
26
27
resolve(url: string): string {
0 commit comments