Skip to content

Commit 0a87a14

Browse files
Update packages/react-native-node-api-modules/src/node/path-utils.ts
Co-authored-by: Kræn Hansen <[email protected]>
1 parent 1c43106 commit 0a87a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-node-api-modules/src/node/path-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function isNodeApiModule(modulePath: string): boolean {
5050
fs.accessSync(path.join(dir, fileName), fs.constants.R_OK);
5151
hasReadable = true;
5252
} catch {
53-
throw new Error("skipping unreadable module " + fileName);
53+
throw new Error("Found an unreadable module at " + fileName);
5454
}
5555
}
5656
return hasReadable;

0 commit comments

Comments
 (0)