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

Gracefully fail upon missing html file for replacement #109

Closed
wants to merge 2 commits into from
Closed

Gracefully fail upon missing html file for replacement #109

wants to merge 2 commits into from

Conversation

michaelwoods
Copy link

When the incorrect location to your html file is provided, the promise never resolves (the forEach doesn't execute).

This moves the resolution outside of the forEach. It should resolve /issues/108.

The PR is the bare minimum for getting a build to proceed, it could be enhanced with errors or a promise rejection.

…the file is invalid, the promise never resolves.
…-nodeunit to 0.4.1 for Node 0.12 compatibility (evals module).
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

Successfully merging this pull request may close these issues.

No error after declaring wrong path to file in 'replaceRequireScript'
1 participant