Skip to content

Commit

Permalink
Remove mention of 0.10 from update script
Browse files Browse the repository at this point in the history
Ref #240
  • Loading branch information
SimenB authored Nov 16, 2016
1 parent 9b581c7 commit 5bd74bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function update_node_version {
sed -E -i.bak 's/^(ENV NODE_VERSION |FROM node:).*/\1'"$version.$fullVersion"'/' "$dockerfile"
rm "$dockerfile.bak"

# Don't set npm log level in 0.10 and 0.12.
if [[ "$version" == "0.10" || "$version" == "0.12" ]]; then
# Don't set npm log level in 0.12.
if [[ "$version" == "0.12" ]]; then
sed -E -i.bak '/^ENV NPM_CONFIG_LOGLEVEL info/d' "$dockerfile"
rm "$dockerfile.bak"
fi
Expand Down

0 comments on commit 5bd74bb

Please sign in to comment.