Skip to content

Commit

Permalink
fix(foomo/sesamy): server args
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Mar 13, 2024
1 parent 8759d63 commit 6ea33a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions foomo/sesamy/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ func (c *Command) tagmanagerWeb(ctx context.Context, r *readline.Readline) error

func (c *Command) tagmanagerServer(ctx context.Context, r *readline.Readline) error {
var paths []string
if r.Args().HasIndex(1) {
paths = []string{r.Args().At(1)}
if r.Args().HasIndex(2) {
paths = []string{r.Args().At(2)}
} else {
paths = c.paths(ctx)
}
Expand Down

0 comments on commit 6ea33a6

Please sign in to comment.