From a99e32e04f25f4f0c9cead36f6beeda970f17e44 Mon Sep 17 00:00:00 2001 From: jash Date: Sun, 21 Oct 2018 00:19:14 +0200 Subject: [PATCH] less information --- install/generator-cyphernode/generators/app/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install/generator-cyphernode/generators/app/index.js b/install/generator-cyphernode/generators/app/index.js index b9c353e..8e97764 100644 --- a/install/generator-cyphernode/generators/app/index.js +++ b/install/generator-cyphernode/generators/app/index.js @@ -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' )); }