Skip to content

Commit

Permalink
Fix #738
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed Jul 22, 2022
1 parent f3f6167 commit 557451d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

## Fixed
- #734: Cargo task hangs.
- #738: Cargo artifacts are not filtered.

# 1.7.2

Expand Down
2 changes: 1 addition & 1 deletion extension/cargo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class Cargo {
if (artifacts instanceof Error)
throw new ErrorWithCause('Cargo task failed.', { cause: artifacts });

return this.getProgramFromArtifacts(artifacts);
return this.getProgramFromArtifacts(artifacts, cargoConfig.filter);
}

getProgramFromArtifacts(artifacts: CompilationArtifact[], filter?: { name?: string; kind?: string }): string {
Expand Down

0 comments on commit 557451d

Please sign in to comment.