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

Commit 43e4f88

Browse files
committed
Fix build failure
1 parent ef033ac commit 43e4f88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/secrethub/migrate_config_templates.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (cmd *MigrateConfigTemplatesCommand) Run() error {
5858

5959
func migrateTemplateTags(inFileContents string, mapping referenceMapping, formatString string) (string, int, error) {
6060
var hits, misses []string
61-
output := regexpSecretTemplateTags.ReplaceAllStringFunc(string(raw), func(templateTag string) string {
61+
output := regexpSecretTemplateTags.ReplaceAllStringFunc(inFileContents, func(templateTag string) string {
6262
path := regexpSecretTemplateTags.FindStringSubmatch(templateTag)[1]
6363

6464
opRef, ok := mapping[path]

0 commit comments

Comments
 (0)