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.
1 parent ad45083 commit 8e61593Copy full SHA for 8e61593
packages/angular_devkit/core/src/workspace/host.ts
@@ -30,15 +30,15 @@ export function createWorkspaceHost(host: virtualFs.Host): WorkspaceHost {
30
},
31
async isDirectory(path: string): Promise<boolean> {
32
try {
33
- return host.isDirectory(normalize(path)).toPromise();
+ return await host.isDirectory(normalize(path)).toPromise();
34
} catch {
35
// some hosts throw if path does not exist
36
return false;
37
}
38
39
async isFile(path: string): Promise<boolean> {
40
41
- return host.isFile(normalize(path)).toPromise();
+ return await host.isFile(normalize(path)).toPromise();
42
43
44
0 commit comments