Skip to content

Commit 34fda8a

Browse files
committed
fix: Fixing prefix usage for run command
1 parent b45d20c commit 34fda8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/commands/run/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const (
8585

8686
// NewFlags creates and returns global flags.
8787
func NewFlags(opts *options.TerragruntOptions, prefix flags.Prefix) cli.Flags {
88-
tgPrefix := prefix.Prepend(flags.TgPrefix)
88+
tgPrefix := flags.Prefix{flags.TgPrefix}
8989
terragruntPrefix := flags.Prefix{flags.TerragruntPrefix}
9090
terragruntPrefixControl := flags.StrictControlsByCommand(opts.StrictControls, CommandName)
9191
legacyLogsControl := flags.StrictControlsByCommand(opts.StrictControls, CommandName, controls.LegacyLogs)

0 commit comments

Comments
 (0)