feat: 新增fs.path获取文件的目录
This commit is contained in:
parent
614663cf35
commit
79845a181d
@ -57,7 +57,7 @@ exports.create = function (file) {
|
||||
* @param file
|
||||
* @returns {*}
|
||||
*/
|
||||
exports.canonical = function (file) {
|
||||
exports.path = exports.canonical = function (file) {
|
||||
// noinspection JSUnresolvedVariable
|
||||
return file.canonicalPath;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user