Skip to content

Commit

Permalink
Merge pull request #272 from SimenB/patch-1
Browse files Browse the repository at this point in the history
Remove mention of 0.10 from update script
  • Loading branch information
chorrell authored Nov 16, 2016
2 parents 9b581c7 + 5bd74bb commit 1707a31
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 1707a31

Please sign in to comment.