From f73c20a50a792605f34b5c10d2a5abf4a7968d5a Mon Sep 17 00:00:00 2001 From: 35C4n0r Date: Fri, 13 Mar 2026 18:58:02 +0530 Subject: [PATCH] feat: remove version check --- registry/coder-labs/modules/copilot/scripts/install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/registry/coder-labs/modules/copilot/scripts/install.sh b/registry/coder-labs/modules/copilot/scripts/install.sh index 9c0c2d49..4609376c 100644 --- a/registry/coder-labs/modules/copilot/scripts/install.sh +++ b/registry/coder-labs/modules/copilot/scripts/install.sh @@ -20,11 +20,7 @@ ARG_COPILOT_MODEL=${ARG_COPILOT_MODEL:-claude-sonnet-4.5} install_copilot() { if ! command_exists copilot; then echo "Installing GitHub Copilot CLI (version: ${ARG_COPILOT_VERSION})..." - if [ "$ARG_COPILOT_VERSION" = "latest" ]; then - curl -fsSL https://gh.io/copilot-install | bash - else - curl -fsSL https://gh.io/copilot-install | VERSION="${ARG_COPILOT_VERSION}" bash - fi + curl -fsSL https://gh.io/copilot-install | VERSION="${ARG_COPILOT_VERSION}" bash if ! command_exists copilot; then echo "PATH after installation: $PATH"