-
Notifications
You must be signed in to change notification settings - Fork 78
Fix regression regarding installing repos with custom tag #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,6 +61,9 @@ fi | |
|
|
||
| if [[ "$package" = */*@* ]]; then | ||
| IFS=@ read -r package ref <<< "$package" | ||
| if [ "$custom_folder" = "false" ]; then | ||
| folder="$package" | ||
| fi | ||
|
Comment on lines
+64
to
+66
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah okay I had it backwards, so the regression was related to adding support for the new custom folder arg. Which explains why I couldn't see it on really old basher releases (they didn't have the custom folder arg yet). Thanks for looking into this, this lgtm. |
||
| else | ||
| ref="" | ||
| fi | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,6 +81,10 @@ basher-_link-completions username/package" | |
| run basher-install username/package@v1.2.3 | ||
|
|
||
| assert_line "basher-_clone false github.com username/package v1.2.3" | ||
| assert_line "basher-_deps username/package" | ||
| assert_line "basher-_link-bins username/package" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice |
||
| assert_line "basher-_link-man username/package" | ||
| assert_line "basher-_link-completions username/package" | ||
| } | ||
|
|
||
| @test "empty version is ignored" { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L38 nit
"argunment" -> "argument"
Not really related to this PR, I noticed it and wanted to at least write it down