Skip to content

too many arguments in call to append #4

@tobyhede

Description

@tobyhede

After using your code for ages, suddenly started seeing this error:

./qthulhu_test.go:19: too many arguments in call to append
./qthulhu_test.go:19: append([]interface {} literal, v...) used as value

Which is this line:

fmt.Printf("\033[31m%s:%d: "+msg+"\033[39m\n\n", append([]interface{}{filepath.Base(file), line}, v...)...)

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