Skip to content

Commit

Permalink
[code] fix #4460: ignore stderr while resolving shell env
Browse files Browse the repository at this point in the history
  • Loading branch information
akosyakov committed Jun 18, 2021
1 parent 6fb0f39 commit 9b69140
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/ide/code/leeway.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh |
&& npm install -g yarn node-gyp
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH

ENV GP_CODE_COMMIT bcd47c10d173a0c5cb174ab7451bb5133c4e9bec
ENV GP_CODE_COMMIT bd7b4627aa9426570398a32606bda2d9246a4e52
RUN mkdir gp-code \
&& cd gp-code \
&& git init \
Expand Down
6 changes: 5 additions & 1 deletion components/ide/code/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,8 @@ export USER=gitpod
[ -s ~/.nvm/nvm-lazy.sh ] && source /home/gitpod/.nvm/nvm-lazy.sh

cd /ide || exit
exec /ide/node/bin/gitpod-node ./out/gitpod.js "$@"
if [ "$SUPERVISOR_DEBUG_ENABLE" = "true" ]; then
exec /ide/node/bin/gitpod-node --inspect ./out/gitpod.js "$@" --verbose --log=trace
else
exec /ide/node/bin/gitpod-node ./out/gitpod.js "$@"
fi

0 comments on commit 9b69140

Please sign in to comment.