Skip to content

Huh, TypeError utils.union is not a function, when verb readme and have tasks:["readme"] in config #5

@tunnckoCore

Description

@tunnckoCore

Easily as 1, 2, 3... hahaha lol.

[charlike@voltaire compose-emitter]$ verb readme
[TypeError: base-runner#runner utils.union is not a function]

The bug is only when you have tasks:readme on local config and run verb readme, otherwise it works.

And that's strange. Because in this repo it can be found in 2 lines. I check that it exist in lazy-cache file, also it exist in deps, so.. can realize what happens. Maybe it is inherited/passed from another place?

edit: Okey it seems it comes from index.js#L102, but in the try block above that line there's no execution of .sortArgs or another method that calls sortArgs which is the one and only place where utils.union is called. Strange.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions