$
This commit is contained in:
12
node_modules/spawn-wrap/lib/which-or-undefined.js
generated
vendored
Normal file
12
node_modules/spawn-wrap/lib/which-or-undefined.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
const which = require("which")
|
||||
|
||||
function whichOrUndefined(executable) {
|
||||
try {
|
||||
return which.sync(executable)
|
||||
} catch (error) {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = whichOrUndefined
|
Reference in New Issue
Block a user