Skip to content

Commit

Permalink
fix: / to path.sep
Browse files Browse the repository at this point in the history
  • Loading branch information
ytetsuro committed Mar 25, 2022
1 parent 6b50603 commit 6a073f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sabik/FileFinder/FileFinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class FileFinder {
}

private findByDirectoryPath(path: string) {
return fs.readdirSync(path).map((row) => this.find(`${path}/${row}`));
return fs.readdirSync(path).map((row) => this.find(`${path}${sep}${row}`));
}

private createFindResult(path: string) {
Expand Down

0 comments on commit 6a073f1

Please sign in to comment.