We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44784ad commit dfa7b99Copy full SHA for dfa7b99
src/bump-dependencies.js
@@ -20,7 +20,7 @@ const {syncGithub} = require('./core/github');
20
const {findLatest} = require('./core/node');
21
const {makeError, formatEventualSuffix} = require('./core/utils');
22
23
-const LOAD_NVM = '. ${NVM_DIR:-$HOME/.nvm}/nvm.sh && nvm use'; // eslint-disable-line no-template-curly-in-string
+const LOAD_NVM = '. ${NVM_DIR:-$HOME/.nvm}/nvm.sh && (nvm use || nvm install)'; // eslint-disable-line no-template-curly-in-string
24
25
const bumpNodeVersion = async (latestNode, config) => {
26
process.stdout.write(c.bold.blue(`\n\n⬆️ About to bump node version:\n`));
0 commit comments