Skip to content

Commit

Permalink
fix: invalid glob for nested dirs
Browse files Browse the repository at this point in the history
fixes #8201

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
  • Loading branch information
achrinza committed Jan 8, 2022
1 parent a41609a commit c09e5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/boot/src/booters/base-artifact.booter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ export class BaseArtifactBooter implements Booter {
: [this.options.extensions]
: [];

const joinedDirs = this.dirs.join('|');
const joinedDirs = this.dirs.join(',');
const joinedExts = this.extensions.join('|');

this.glob = this.options.glob
? this.options.glob
: `/@(${joinedDirs})/${
: `/{${joinedDirs}}/${
this.options.nested ? '**/*' : '*'
}@(${joinedExts})`;
}
Expand Down

0 comments on commit c09e5c5

Please sign in to comment.