From e7cbbfd0d29c584b06fd7889c0ef4c4b84d7cc87 Mon Sep 17 00:00:00 2001 From: jash Date: Fri, 2 Nov 2018 21:15:35 +0100 Subject: [PATCH] renamed clientKeys.7z to client.7z --- install/generator-cyphernode/generators/app/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/generator-cyphernode/generators/app/index.js b/install/generator-cyphernode/generators/app/index.js index 00c0aed..e1ad745 100644 --- a/install/generator-cyphernode/generators/app/index.js +++ b/install/generator-cyphernode/generators/app/index.js @@ -296,11 +296,11 @@ module.exports = class extends Generator { if( this.props.gatekeeper_keys && this.props.gatekeeper_keys.clientInformation ) { if( this.gatekeeper_clientkeyspassword !== this.props.gatekeeper_clientkeyspassword && - fs.existsSync(this.destinationPath('clientKeys.7z')) ) { - fs.unlinkSync( this.destinationPath('clientKeys.7z') ); + fs.existsSync(this.destinationPath('client.7z')) ) { + fs.unlinkSync( this.destinationPath('client.7z') ); } - const archive = new Archive( this.destinationPath('clientKeys.7z'), this.props.gatekeeper_clientkeyspassword ); + const archive = new Archive( this.destinationPath('client.7z'), this.props.gatekeeper_clientkeyspassword ); if( !await archive.writeEntry( 'keys.txt', this.props.gatekeeper_keys.clientInformation.join('\n') ) ) { console.log(chalk.bold.red( 'error! Client gatekeeper key archive was not written' )); }