Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 6c6e9d3

Browse files
committed
Revert adding curly braces when migrating env vars in .env files
We do not want curly braces to end in the `.env` file
1 parent 43e4f88 commit 6c6e9d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/secrethub/migrate_config_envfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (cmd *MigrateConfigEnvfileCommand) Run() error {
3939
return err
4040
}
4141

42-
output, replaceCount, err := migrateTemplateTags(string(inFileContents), refMapping, "{{ %s }}")
42+
output, replaceCount, err := migrateTemplateTags(string(inFileContents), refMapping, "%s")
4343
if err != nil {
4444
return err
4545
}

0 commit comments

Comments
 (0)