making sure devmode exists

This commit is contained in:
jash
2018-10-08 22:49:51 +02:00
committed by kexkey
parent 5877f13ddd
commit 54ba926e60

View File

@@ -28,10 +28,13 @@ module.exports = class extends Generator {
} else {
this.props = {
'derivation_path': '0/n',
'installer': 'docker'
'installer': 'docker',
'devmode': false
};
}
this.props.devmode = this.props.devmode || false;
this.featureChoices = featureChoices;
for( let c of this.featureChoices ) {
c.checked = this._isChecked( 'features', c.value );