mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-06-13 02:36:48 +00:00
fixes
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
bd25b1e
|
||||
b540e2e
|
||||
|
||||
@@ -135,7 +135,9 @@ go_packages=(
|
||||
for pkg_info in "${go_packages[@]}"; do
|
||||
IFS=':' read -r pkg desc <<< "$pkg_info"
|
||||
echo -n " • $pkg ($desc)... "
|
||||
if GOPROXY="$GOHOARDER_URL/go,direct" go get "$pkg" > /dev/null 2>&1; then
|
||||
# Removed ",direct" fallback to enforce security scanning
|
||||
# Packages will fail if blocked (same behavior as pip/npm/pnpm/yarn)
|
||||
if GOPROXY="$GOHOARDER_URL/go" go get "$pkg" > /dev/null 2>&1; then
|
||||
echo -e "${GREEN}✓${NC}"
|
||||
else
|
||||
echo -e "${RED}✗${NC}"
|
||||
|
||||
Reference in New Issue
Block a user