Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

fix(devcontainers-cli): install to $CODER_SCRIPT_BIN_DIR when using yarn #457

Merged
merged 1 commit into from
May 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devcontainers-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The devcontainers-cli module provides an easy way to install [`@devcontainers/cl
```tf
module "devcontainers-cli" {
source = "registry.coder.com/modules/devcontainers-cli/coder"
version = "1.0.1"
version = "1.0.2"
agent_id = coder_agent.example.id
}
```
2 changes: 1 addition & 1 deletion devcontainers-cli/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ install() {
fi
pnpm add -g @devcontainers/cli
elif [ "$PACKAGE_MANAGER" = "yarn" ]; then
yarn global add @devcontainers/cli
yarn global add @devcontainers/cli --prefix "$CODER_SCRIPT_BIN_DIR"
fi
}

Expand Down