We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0011385 commit f6840b7Copy full SHA for f6840b7
src/lib/file.ts
@@ -10,7 +10,7 @@ const separateFilesAndDirs = (fileInfos: Array<FileInfo>): FileAndDirs => ({
10
11
const findRec = (currentPath: string): Array<FileInfo> => {
12
const getStat = (entry: string): FileInfo => {
13
- const target = path.join(currentPath, entry);
+ const target = path.resolve(currentPath, entry);
14
const stat = fs.statSync(target);
15
16
return {
0 commit comments