Skip to content
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

Fix: Handle .git extensions in repository URLs #41

Merged
merged 3 commits into from
Apr 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: crash when (dependency) version was missing
  • Loading branch information
FMotalleb committed Apr 20, 2024
commit 056602404022f2299452ce2f1095299852ffb271
3 changes: 3 additions & 0 deletions action.nu
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,11 @@ export module plugin-list {
# TODO handle error
def "get self or version" []: record -> string , string -> string {
let input = $in

if ($input | is-str) {
return $input;
} else if ($input.version? | is-empty) {
return "0.0.0"
} else {
return $input.version
}
Expand Down