Skip to content

Commit

Permalink
apply suggestion from review
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed May 16, 2024
1 parent 7dc82d0 commit deee344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deltachat-rpc-server/npm-package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ async function getLocationInPath() {
);
return executable;
} catch (error) {
if (error.code == 127) return "";
else throw error
if (error.code > 0) return "";
else throw error;
}
}

Expand Down

0 comments on commit deee344

Please sign in to comment.