We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 676c7bf commit e07a591Copy full SHA for e07a591
ci/build/npm-postinstall.sh
@@ -25,8 +25,11 @@ main() {
25
esac
26
27
OS="$(uname | tr '[:upper:]' '[:lower:]')"
28
- curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent
29
- chmod +x ./lib/coder-cloud-agent
+ if curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent ; then
+ chmod +x ./lib/coder-cloud-agent
30
+ else
31
+ echo "Failed to download cloud agent; --link will not work"
32
+ fi
33
34
if ! vscode_yarn; then
35
echo "You may not have the required dependencies to build the native modules."
0 commit comments