feat: 新增fs.path获取文件的目录
This commit is contained in:
		@@ -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;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user