Skip to content

Commit dfa7b99

Browse files
committed
Install bumped version of node if needed 💿
1 parent 44784ad commit dfa7b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bump-dependencies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {syncGithub} = require('./core/github');
2020
const {findLatest} = require('./core/node');
2121
const {makeError, formatEventualSuffix} = require('./core/utils');
2222

23-
const LOAD_NVM = '. ${NVM_DIR:-$HOME/.nvm}/nvm.sh && nvm use'; // eslint-disable-line no-template-curly-in-string
23+
const LOAD_NVM = '. ${NVM_DIR:-$HOME/.nvm}/nvm.sh && (nvm use || nvm install)'; // eslint-disable-line no-template-curly-in-string
2424

2525
const bumpNodeVersion = async (latestNode, config) => {
2626
process.stdout.write(c.bold.blue(`\n\n⬆️ About to bump node version:\n`));

0 commit comments

Comments
 (0)