We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 217f70d + 72591e1 commit e9f8b88Copy full SHA for e9f8b88
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