Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Fixed nullpointer in copy.ts #307

Merged
merged 1 commit into from
Nov 3, 2016

Conversation

hayuki
Copy link
Contributor

@hayuki hayuki commented Nov 3, 2016

Short description of what this resolves:

Fixes issue #305 - resolves the issue of getting a 'TypeError - can't find "indexOf" of undefined' while building the project.

Changes proposed in this pull request:

  • Check err object to see if it has a "message" parameter before calling "indexOf" on that parameter.

Fixes: #305

A "TypeError - can't find "indexOf" of undefined" was being thrown in copySrcToDest function when a copy error was detected and its message was interpreted.

A nullpointer exception was being thrown in copySrcToDest function when a copy error was detected and its message was interpreted.
@danbucholtz danbucholtz merged commit cea4dd8 into ionic-team:master Nov 3, 2016
@danbucholtz
Copy link
Contributor

@hayuki,

Thanks for contributing to Ionic! 🎆 🍾

Thanks,
Dan

@hayuki
Copy link
Contributor Author

hayuki commented Nov 3, 2016

@danbucholtz ,

No problem. Thanks for responding and merging so quickly :)

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

Successfully merging this pull request may close these issues.

2 participants