feat: 新增fs.path获取文件的目录

merge/2/HEAD
coding 2017-11-30 05:23:10 +00:00
parent 614663cf35
commit 79845a181d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ exports.create = function (file) {
* @param file * @param file
* @returns {*} * @returns {*}
*/ */
exports.canonical = function (file) { exports.path = exports.canonical = function (file) {
// noinspection JSUnresolvedVariable // noinspection JSUnresolvedVariable
return file.canonicalPath; return file.canonicalPath;
}; };