Skip to content

Commit

Permalink
chore(commands): add true parameter to the editor.add fn (#4722)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelMN authored Sep 11, 2024
1 parent 583e2cd commit 9adc8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/generate_key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9adc8db

Please sign in to comment.