fix(core): update

This commit is contained in:
2020-10-11 15:34:24 +00:00
parent afb7fa8e89
commit 292c2699ea
5 changed files with 33 additions and 14 deletions

View File

@ -227,7 +227,7 @@ export const fileTreeToObject = async (dirPathArg: string, miniMatchFilter: stri
if (plugins.path.isAbsolute(miniMatchFilter)) {
dirPath = '/';
} else {
dirPath = dirPathArg;
dirPath = plugins.smartpath.transform.toAbsolute(dirPathArg);
}
const fileTree = await listFileTree(dirPath, miniMatchFilter);