Skip to content

Commit 335fc38

Browse files
author
Thomas G.
committed
fix: 🐛 handle http redirects
1 parent 237edf4 commit 335fc38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common-utils/_zz_json.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ help
1515
# if schema is a url, download it
1616
if test -n "$(echo $source | grep -E '^http')"; then
1717
zz_log i "Downloading file from {U $source}"
18-
curl -s $source
18+
curl -L -s $source
1919
if [ $? -ne 0 ]; then
2020
zz_log e "Unable to download file {U $source}" && exit 1
2121
fi

src/common-utils/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "common-utils",
33
"name": "Common Utils",
44
"description": "Common utils for tomgrv/devcontainer-features",
5-
"version": "3.15.1",
5+
"version": "3.15.2",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/common-utils": {}
88
},

0 commit comments

Comments
 (0)