This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/spawn-wrap/lib/which-or-undefined.js
2020-11-01 22:46:04 +00:00

13 lines
190 B
JavaScript

'use strict';
const which = require("which")
function whichOrUndefined(executable) {
try {
return which.sync(executable)
} catch (error) {
}
}
module.exports = whichOrUndefined