Skip to content

Commit 06103e3

Browse files
committed
Add forgotten isFile change
1 parent b91d9c1 commit 06103e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Herebyfile.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const typeScriptSubmodulePath = path.join(__dirname, "_submodules", "TypeScript"
1717
function assertTypeScriptCloned() {
1818
try {
1919
const stat = fs.statSync(path.join(typeScriptSubmodulePath, "package.json"));
20-
if (stat.isDirectory()) {
20+
if (stat.isFile()) {
2121
return;
2222
}
2323
}

0 commit comments

Comments
 (0)