fix(core): update

This commit is contained in:
2023-06-23 18:43:49 +02:00
parent 04a9b992d7
commit 3bf1eafe6b
4 changed files with 9 additions and 8 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartfile',
version: '10.0.11',
version: '10.0.12',
description: 'offers smart ways to work with files in nodejs'
}

View File

@ -354,9 +354,8 @@ export const listFileTree = async (
nodir: true,
dot: true,
};
let fileList = await plugins.glob.glob(miniMatchFilter, options)
let fileList = await plugins.glob.glob(miniMatchFilter, options);
if (absolutePathsBool) {
fileList = fileList.map((filePath) => {
return plugins.path.resolve(plugins.path.join(dirPath, filePath));