8000 provide better error message if after refers to missing task · Issue #6 · jeffbski/autoflow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

provide better 84C1 error message if after refers to missing task #6

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

Open
jeffbski opened this issue Feb 27, 2012 · 0 comments
Open

provide better error message if after refers to missing task #6

jeffbski opened this issue Feb 27, 2012 · 0 comments

Comments

@jeffbski
Copy link
Owner

If an after condition is specified and the task with that name is not found, provide a better error message.

This can happen if a task was originally specified with a named function and then later changed to an anonymous function.

Like

function foo() {
}

is later changed to

var foo = function () { }

and there is a task which uses after: 'foo'

Current error message will say cannot call isComplete on undefined.

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

No branches or pull requests

1 participant
0