Skip to content

Commit

Permalink
fix(artifactfetch): search for artifacts with scope
Browse files Browse the repository at this point in the history
Packages when fetched from npm repository would contain scope in the name
  • Loading branch information
azlam-abdulsalam committed Oct 11, 2023
1 parent ec6b165 commit 9315afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/artifacts/ArtifactFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default class ArtifactFetcher {
public static findArtifacts(artifactDirectory: string, sfdx_package?: string): string[] {
let pattern: string;
if (sfdx_package) {
pattern = `**/${sfdx_package}_sfpowerscripts_artifact*.@(zip|tgz)`;
pattern = `**/*${sfdx_package}_sfpowerscripts_artifact*.@(zip|tgz)`;
} else {
pattern = `**/*sfpowerscripts_artifact*.@(zip|tgz)`;
}
Expand Down

0 comments on commit 9315afa

Please sign in to comment.