Skip to content

Commit 92e9dc0

Browse files
authored
fix(dev): defer proxy dumper access check (#2259)
1 parent 6c9179d commit 92e9dc0

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

Makefile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -487,12 +487,11 @@ endif
487487

488488
.PHONY: check-proxy-dumper-tools
489489
check-proxy-dumper-tools:
490-
ifeq ($(shell command -v go >/dev/null || echo not-found), not-found)
491-
$(error "Please install Go.")
492-
endif
493-
ifeq ($(shell timeout 5s git remote show https://github.com/DataDog/dd-source 2>&1 >/dev/null || echo not-available), not-available)
494-
$(error "Please ensure Git is configured correctly to accessing private/internal Datadog repositories.")
495-
endif
490+
@command -v go >/dev/null || { echo "Please install Go." >&2; exit 1; }
491+
@timeout 5s git remote show https://github.com/DataDog/dd-source >/dev/null 2>&1 || { \
492+
echo "Please ensure Git is configured correctly to access private/internal Datadog repositories." >&2; \
493+
exit 1; \
494+
}
496495

497496
##@ Checking
498497

0 commit comments

Comments
 (0)