-
-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue which saw versions resolved twice
The version of a tool was being looked up twice - once prior to downloading and again post downloading. This was because GetUrl was being reached twice, initially to determine the download url and then again to determine whether the download was an archive. This change introduces a new function which takes the download url and uses that to determine whether its an archive. This removes the additional round trip and the associated output. The new function is also covered by an additional test. Signed-off-by: Richard Gee <[email protected]>
- Loading branch information
Showing
3 changed files
with
52 additions
and
4 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