diff --git a/which/which-tests.ts b/which/which-tests.ts index 172cff91c..45a376dcb 100644 --- a/which/which-tests.ts +++ b/which/which-tests.ts @@ -1,10 +1,10 @@ /// -import when = require("when"); +import which = require("which"); -when("cat", (err, path) => { +which("cat", (err, path) => { console.log(path); }); -var path = when.sync("cat"); +var path = which.sync("cat"); console.log(path);