Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit ec179b9

Browse files
authored
Fix problem with call to isDirectory (#1032)
isDirectory is a function, not a property
1 parent 69d89b2 commit ec179b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dialog/src/library/schemaMerger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ export class SchemaMerger {
866866
for (const importedDir of await fs.readdir(this.imports)) {
867867
const importPath = ppath.join(this.imports, importedDir)
868868
// On a mac .DS_STORE throws an error if you try to glob it so ensure directory
869-
if (!processed.has(importedDir) && (await fs.lstat(importPath)).isDirectory) {
869+
if (!processed.has(importedDir) && (await fs.lstat(importPath)).isDirectory()) {
870870
for (const path of await glob(forwardSlashes(ppath.join(this.imports, importedDir, '**')))) {
871871
const {unchanged} = await hash.isUnchanged(path)
872872
if (unchanged) {

0 commit comments

Comments
 (0)