Skip to content

Commit

Permalink
Merge pull request #99 from foomo/fix-sesamy-server
Browse files Browse the repository at this point in the history
fix(foomo/sesamy): server args
  • Loading branch information
franklinkim committed Mar 13, 2024
2 parents 8759d63 + 6ea33a6 commit 54692d7
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 54692d7

Please sign in to comment.