How to use Directory.glob? #7156
Unanswered
skycaptain
asked this question in
Q&A
Replies: 1 comment
-
👋 seems like a bug in the tests := []matchesTestCase{
{"build/tmp-*/deploy/sdk*", "build/tmp-build-a/deploy/sdk/test.manifest", true}, and this passed. It's very likely an issue coming from https://github.com/marcosnils/dagger/blob/9baaa467f14bd4abf5399da1608b9d17d07e8fd7/core/directory.go?plain=1#L272 just opened and issue to track this: #7169 cc @TomChv |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I may be missing something simple, but I'm currently struggling with
Directory.glob
returning an empty list instead of the files. Consider this example where I want to match all the files in thedeploy/sdk
directory. Note the differenttmp-*
directories:This example returns
[]
. Running the same command with regularls
works fine. I tried different combinations of the pattern, but none have worked as expected. What could I be missing?Beta Was this translation helpful? Give feedback.
All reactions