Skip to content

Panic when used #65

@breznik

Description

@breznik

Hi, your tool looks useful, so I wanted to give it a try. I did:
go get github.com/wagoodman/bashful

And then I made a simple hello.yaml:

tasks:
  - cmd: echo "Hello, World!"

When i try to run it, I get a panic:

bashful run hello.yaml 
Running 
    • echo "Hello, World!"                                                                                                                                                                                                                                panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1092945]

goroutine 1 [running]:
os.(*File).Name(0x0, 0x22, 0x1446f0d)
	/usr/local/Cellar/go/1.10.1/libexec/src/os/file.go:49 +0x5
github.com/wagoodman/bashful/pkg/runtime/handler.(*TaskLogger).doRegister(0xc420115400, 0xc420099860)

and so on.

Am I doing something wrong?

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