mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-29 11:50:36 +01:00
closes #4517
This commit is contained in:
2
nodebb
2
nodebb
@@ -196,7 +196,7 @@ var getRunningPid = function(callback) {
|
||||
description: 'Proceed with upgrade (y|n)?'.reset,
|
||||
type: 'string'
|
||||
}, function(err, result) {
|
||||
if (result.upgrade === 'y' || result.upgrade === 'yes') {
|
||||
if (['y', 'Y', 'yes', 'YES'].indexOf(result.upgrade) !== -1) {
|
||||
process.stdout.write('\nUpgrading packages...');
|
||||
var args = ['npm', 'i'];
|
||||
found.forEach(function(suggestObj) {
|
||||
|
||||
Reference in New Issue
Block a user