Closed Chuongv closed 9 years ago
We want to handle this error too. :) In case if old image cannot be removed it makes sense to return from method.
[fileManager removeItemAtPath:path error:nil];
Closing pull request, will reopen once tests are updated.
@dvor Let me know your thoughts. Added error handling.
Also I'll send another pull request later this week once I get more unit tests added for 'hasAvatar' and 'avatar'