diff --git a/cmd/init.go b/cmd/init.go index 070bdeae0a3f..b9c013eeb786 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -121,8 +121,7 @@ func (c *initCmd) run(cmd *cobra.Command, args []string) error { //nolint:revive return err } - printToStdout(c.gs, fmt.Sprintf("Initialized a new k6 test script in %s.\n", target)) - printToStdout(c.gs, fmt.Sprintf("You can now execute it by running `%s run %s`.\n", c.gs.BinaryName, target)) + printToStdout(c.gs, fmt.Sprintf("Initialized a new k6 test script in %s. You can now execute it by running `%s run %s`.\n", target, c.gs.BinaryName, target)) return nil }