Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tunnckoCore opened this issue Mar 26, 2016 · 1 comment
Labels

Comments

@tunnckoCore
Copy link
Contributor

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.

@jonschlinkert
Copy link
Member

thanks for looking into it. I'll get it fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants