Skip to content

Commit a3e41aa

Browse files
romtsnclaude
andcommitted
fix(bundle-jvm): Correct glob example in collision warning
The warning suggested --exclude='**src/debug/**', but in globset '**' is only a recursive wildcard when it is a whole path segment. Adjacent to other characters (as in '**src'), it is parsed as '*src' and matches a single segment, so the hint would not apply in multi-module projects. Use '**/src/debug/**' instead. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 314db3d commit a3e41aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/debug_files/bundle_jvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
252252
warn!(
253253
"URL collision on {}: skipping '{}' (already bundled from '{}'). \
254254
Use --exclude to drop the unwanted source set \
255-
(e.g. --exclude='**src/debug/**').",
255+
(e.g. --exclude='**/src/debug/**').",
256256
c.url,
257257
c.skipped_path.display(),
258258
c.kept_path.display(),

0 commit comments

Comments
 (0)