How to get Glob method works on absolute path #10107
Answered
by
Jarred-Sumner
truongan07
asked this question in
Q&A
-
|- /home/yourname/test/ const { Glob } = await import('bun');
// const glob = new Glob('/home/an/test/');
const glob = new Glob('/home/an/test/**/*');
for await (const path of glob.scan()) console.log(path); nothing to print ? |
Beta Was this translation helpful? Give feedback.
Answered by
Jarred-Sumner
Apr 9, 2024
Replies: 1 comment 1 reply
-
@zackradisic do you know? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
truongan07
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zackradisic do you know?