diff --git a/setup.js b/setup.js index 69c9849..602fa0e 100755 --- a/setup.js +++ b/setup.js @@ -206,7 +206,7 @@ function doSetup() { .blank()) // Apply old configs - .then(() => Object.entries(oldConfig).forEach(([setting, value]) => (results[setting] === undefined) && (results[setting] = value))) + .then(() => Object.entries(oldConfig).forEach(([setting, value]) => (typeof results[setting] === 'undefined') && (results[setting] = value))) // Confirm .then(() => prompt.get(confirmSchema))