Skip to content

Commit

Permalink
feat: Show errors when curl fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuxdude committed Jun 24, 2024
1 parent 7a74b9c commit 314f405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata/metadata
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ current_node_version() {
}

latest_node_version() {
curl --silent --fail --location https://nodejs.org/dist/index.tab | \
curl --silent --fail --location --show-error https://nodejs.org/dist/index.tab | \
tail -n+2 | \
cut -d $'\t' -f 1 | \
sort --version-sort --reverse | \
Expand Down

0 comments on commit 314f405

Please sign in to comment.