less information

This commit is contained in:
jash
2018-10-21 00:19:14 +02:00
committed by kexkey
parent be8a11b58f
commit a99e32e04f

View File

@@ -177,9 +177,7 @@ module.exports = class extends Generator {
const configJsonString = JSON.stringify(this.props);
const archive = new Archive( this.destinationPath('config.7z'), this.configurationPassword );
if( archive.writeEntry( 'config.json', configJsonString ) ) {
console.log(chalk.bold.green( 'config archive was written' ));
} else {
if( !archive.writeEntry( 'config.json', configJsonString ) ) {
console.log(chalk.bold.red( 'error! config archive was not written' ));
}