From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/which/which.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node_modules/which/which.js') diff --git a/node_modules/which/which.js b/node_modules/which/which.js index 70d974c18..4347f91a1 100644 --- a/node_modules/which/which.js +++ b/node_modules/which/which.js @@ -128,5 +128,8 @@ function whichSync (cmd, opt) { if (opt.all && found.length) return found + if (opt.nothrow) + return null + throw getNotFoundError(cmd) } -- cgit v1.2.3