Skip to content

gitb issue show 実行でエラー #40

Description

@striderkein

実行環境

MacBook Pro (16-inch, 2019), 2.4 GHz 8コアIntel Core i9, macOS 12.1

発生したエラー

$ gitb issue show
panic: runtime error: index out of range [2] with length 2

goroutine 1 [running]:
main.extractProjectKeyAndRepoName(0xc0001486a5, 0x14, 0x14, 0xa, 0xc00012d180, 0xa)
        /home/vvatanabe/go/src/github.com/vvatanabe/gitb/repository.go:135 +0x1c5
main.NewBacklogRepository(0x166ba90, 0xc000124ca8, 0x166ba90)
        /home/vvatanabe/go/src/github.com/vvatanabe/gitb/repository.go:113 +0xad
main.open(0x15c11a4, 0x1, 0x0, 0xc0001b15a8, 0x1668b30)
        /home/vvatanabe/go/src/github.com/vvatanabe/gitb/main.go:287 +0x85
main.main.func6(0xc0001a8840, 0xc000132c00, 0xc0001bd350)
        /home/vvatanabe/go/src/github.com/vvatanabe/gitb/main.go:128 +0x3a
github.com/urfave/cli.HandleAction(0x150f6a0, 0x15e92f0, 0xc0001a8840, 0xc0001a8840, 0x0)
        /home/vvatanabe/go/pkg/mod/github.com/urfave/cli@v1.22.2/app.go:523 +0x105
github.com/urfave/cli.Command.Run(0x15c1c5b, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x15da182, 0x2d, 0x0, ...)
        /home/vvatanabe/go/pkg/mod/github.com/urfave/cli@v1.22.2/command.go:174 +0x579
github.com/urfave/cli.(*App).RunAsSubcommand(0xc0001b2540, 0xc0001a8580, 0x0, 0x0)
        /home/vvatanabe/go/pkg/mod/github.com/urfave/cli@v1.22.2/app.go:404 +0x914
github.com/urfave/cli.Command.startApp(0x15c242c, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x15d95f5, 0x2b, 0x0, ...)
        /home/vvatanabe/go/pkg/mod/github.com/urfave/cli@v1.22.2/command.go:373 +0x7ff
github.com/urfave/cli.Command.Run(0x15c242c, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x15d95f5, 0x2b, 0x0, ...)
        /home/vvatanabe/go/pkg/mod/github.com/urfave/cli@v1.22.2/command.go:102 +0xa14
github.com/urfave/cli.(*App).Run(0xc0001b2380, 0xc000116180, 0x3, 0x3, 0x0, 0x0)
        /home/vvatanabe/go/pkg/mod/github.com/urfave/cli@v1.22.2/app.go:276 +0x7e8
main.main()
        /home/vvatanabe/go/src/github.com/vvatanabe/gitb/main.go:272 +0x873

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions