Remove slicing

This commit is contained in:
Azeem Sajid 2025-02-25 10:49:28 +05:00
parent 092eb7e962
commit 8ace163608

View file

@ -88,7 +88,7 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
},
Aliases: []string{"new"},
RunE: func(c *cobra.Command, args []string) error {
opts.Filenames = args[:]
opts.Filenames = args
if runF != nil {
return runF(&opts)