forked from zqfan/orca
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(artifacts): Find from execution should use default artifact (spin…
…naker#2905) The public method ArtifactResolver.resolveSingleArtifact should handle trying to match the artifact in the context as well as falling back to a prior execution or the default artifact instead of making callers do that. Pull the matching logic into the private function matchSingleArtifact then have resolveSingleArtifact call matchSingleArtifact and then do the defaulting if the artifact isn't resolved. We can pull this logic out of resolveExpectedArtifacts and have it just call resolveSingleArtifact.
- Loading branch information
Showing
3 changed files
with
24 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters