diff --git a/lib/configs.js b/lib/configs.js index 08d1a2ed..cd4eaadb 100644 --- a/lib/configs.js +++ b/lib/configs.js @@ -236,7 +236,7 @@ exports.getPlugin = function (plugin) { }; exports.getPluginPath = function (plugin) { - return which.sync(plugin); + return fs.realpathSync(which.sync(plugin)); }; exports.getPluginBasename = function (plugin) {