Skip to content

Instantly share code, notes, and snippets.

@fermuch
Created October 4, 2018 22:08
Show Gist options
  • Save fermuch/9987cdb190191e6f614e1eea3095dba8 to your computer and use it in GitHub Desktop.
Save fermuch/9987cdb190191e6f614e1eea3095dba8 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ -z "$NODE_VERSION" ]; then
N_V=$(cat .node-version)
NODE_VERSION=$(echo "$N_V" | cut -c 2-)
NPM_VERSION="4.6.1"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment