Fixed found `undefined` as an Identifier (JS-0127)

pull/51/head
tycrek 3 years ago
parent 4049964d23
commit f7d87d2998
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -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))

Loading…
Cancel
Save