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

This commit is contained in:
coding
2017-11-30 05:23:10 +00:00
parent 614663cf35
commit 79845a181d

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;
}; };