Skip to content

Commit 502755c

Browse files
committed
Changes to edit command as requested in Pull Request
1 parent 4df6e6e commit 502755c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subcmd/edit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (cmd *editCmd) parseArgs(args []string) (pathutil.ReposPathList, error) {
175175
}
176176

177177
func (cmd *editCmd) identifyEditor(cfg *config.Config) (string, error) {
178-
editors := make([]string, 4, 6)
178+
editors := make([]string, 0, 6)
179179

180180
// if an editor is specified as commandline argument, consider it
181181
// as alternative

0 commit comments

Comments
 (0)