Skip to content

Commit 87d7af4

Browse files
committed
Random fix from rebasing/remaking branch...
1 parent 0943288 commit 87d7af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (c *InitCommand) Run(args []string) int {
5151
args = c.Meta.process(args)
5252
initArgs, initDiags := arguments.ParseInit(args)
5353

54-
view := views.NewInit(viewType, c.View)
54+
view := views.NewInit(initArgs.ViewType, c.View)
5555

5656
if initDiags.HasErrors() {
5757
diags = diags.Append(initDiags)

0 commit comments

Comments
 (0)