Skip to content

Commit 04df8c5

Browse files
committed
added check
1 parent 7768127 commit 04df8c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/node-addon-examples/scripts/verify-prebuilds.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ async function verifyAndroidPrebuild(dirent: fs.Dirent) {
2525
);
2626
for (const arch of EXPECTED_ANDROID_ARCHS) {
2727
const archDir = path.join(dirent.parentPath, dirent.name, arch);
28+
if (fs.existsSync(archDir)) {
29+
return;
30+
}
2831
for (const file of await fs.promises.readdir(archDir, {
2932
withFileTypes: true,
3033
})) {

0 commit comments

Comments
 (0)