diff --git a/install/generator-cyphernode/generators/app/index.js b/install/generator-cyphernode/generators/app/index.js index 841b4f8..d182959 100644 --- a/install/generator-cyphernode/generators/app/index.js +++ b/install/generator-cyphernode/generators/app/index.js @@ -35,8 +35,8 @@ module.exports = class extends Generator { /* filters */ _trimFilter( input ) { - return input.trim(); - } + return (input+"").trim(); + } /* prompts */ _configureFeatures() { @@ -66,7 +66,7 @@ module.exports = class extends Generator { { name: 'Electrum server', value: 'electrum', - checked: this._isChecked( 'features', 'ots' ) + checked: this._isChecked( 'features', 'electrum' ) } ]