Remove slicing
This commit is contained in:
parent
092eb7e962
commit
8ace163608
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue