pusher / cli

A CLI for Pusher (beta)
51 stars 6 forks source link

Default binaries' stacktraces include the absolute path to the source on the machine where it was built #20

Closed hugoghx closed 2 years ago

hugoghx commented 6 years ago
goroutine 1 [running]:
github.com/pusher/cli/commands/auth.glob..func1(0x1765480, 0x178d638, 0x0, 0x0)
    /Users/hugovieira/Development/Go/src/github.com/pusher/cli/commands/auth/login.go:36 +0x490
github.com/pusher/cli/vendor/github.com/spf13/cobra.(*Command).execute(0x1765480, 0x178d638, 0x0, 0x0, 0x1765480, 0x178d638)
    /Users/hugovieira/Development/Go/src/github.com/pusher/cli/vendor/github.com/spf13/cobra/command.go:702 +0x2c6
github.com/pusher/cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420094fc0, 0x14d6e60, 0xc420095100, 0xc420133f08)
    /Users/hugovieira/Development/Go/src/github.com/pusher/cli/vendor/github.com/spf13/cobra/command.go:783 +0x30e
github.com/pusher/cli/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420094fc0, 0xc420133f08, 0x1)
    /Users/hugovieira/Development/Go/src/github.com/pusher/cli/vendor/github.com/spf13/cobra/command.go:736 +0x2b
main.main()
    /Users/hugovieira/Development/Go/src/github.com/pusher/cli/main.go:30 +0x3d7

Will always be this structure (/Users/hugovieira/Development/Go/src/) independently of the machine its running on