Skip to content

Commit

Permalink
Merge pull request #642 from YJ-AnthonyJo/master
Browse files Browse the repository at this point in the history
fix: resolved path might be pattern in glob
  • Loading branch information
samchon authored Oct 3, 2023
2 parents 6f73c68 + fd1b299 commit 7bdf889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/utils/SourceFinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export namespace SourceFinder {
(input: string[]) =>
async (closure: (location: string) => void): Promise<void> => {
for (const pattern of input) {
for (const file of await _Glob(path.resolve(pattern))) {
for (const file of await _Glob(pattern)) {
const stats: fs.Stats = await fs.promises.stat(file);
if (stats.isDirectory() === true)
await iterate(filter)(closure)(file);
Expand Down

0 comments on commit 7bdf889

Please sign in to comment.