From 9adc8db2354fcd81bc9677bdc516112cc65272c1 Mon Sep 17 00:00:00 2001 From: AbdelMN <55888251+AbdelMN@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:05:12 +0200 Subject: [PATCH] chore(commands): add true parameter to the editor.add fn (#4722) --- commands/generate_key.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/generate_key.ts b/commands/generate_key.ts index aba98f8e..e9731a83 100644 --- a/commands/generate_key.ts +++ b/commands/generate_key.ts @@ -43,7 +43,7 @@ export default class GenerateKey extends BaseCommand { if (writeToFile) { const editor = await EnvEditor.create(this.app.appRoot) - editor.add('APP_KEY', secureKey) + editor.add('APP_KEY', secureKey, true) await editor.save() this.logger.action('add APP_KEY to .env').succeeded() } else {