diff --git a/lib/utils.js b/lib/utils.js index 56e12b9b54..55a50baa3d 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -57,6 +57,8 @@ exports.isAbsolute = function(path){ if ('/' === path[0]) return true; if (':' === path[1] && ('\\' === path[2] || '/' === path[2])) return true; // Windows device path if ('\\\\' === path.substring(0, 2)) return true; // Microsoft Azure absolute path + + return false; // None of the conditions are met }; /**