Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Aug 10, 2024
1 parent 57bfc20 commit 4b5ca04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/producer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export default function producer({
try {
const platformFile = nativePrebuildInstall(target, stripe.file);

if (fs.existsSync(platformFile)) {
if (platformFile && fs.existsSync(platformFile)) {
return cb(
null,
pipeMayCompressToNewMeter(
Expand Down

0 comments on commit 4b5ca04

Please sign in to comment.