Merge pull request #279 from andrerod/dev
#278: Fixing issue with duplicate variable naming.
This commit is contained in:
Коммит
6ecc42919b
|
@ -456,7 +456,6 @@ exports.getHostNameSuffix = function () {
|
|||
|| constants.DEFAULT_HOSTNAME_SUFFIX;
|
||||
};
|
||||
|
||||
exports.pathExistsSync = function (path) {
|
||||
var obj = fs.existsSync ? fs : path;
|
||||
return obj.existsSync.apply(obj, arguments);
|
||||
};
|
||||
exports.pathExistsSync = fs.existsSync
|
||||
? fs.existsSync
|
||||
: path.existsSync;
|
|
@ -217,7 +217,6 @@ exports.merge = function () {
|
|||
return _.extend.apply(this, arguments);
|
||||
};
|
||||
|
||||
exports.pathExistsSync = function (path) {
|
||||
var obj = fs.existsSync ? fs : path;
|
||||
return obj.existsSync.apply(obj, arguments);
|
||||
};
|
||||
exports.pathExistsSync = fs.existsSync
|
||||
? fs.existsSync
|
||||
: path.existsSync;
|
Загрузка…
Ссылка в новой задаче