Updated Branches: refs/heads/master c6dc03acf -> 85f8ef73f
Noticed typo in File.getMetadata - error callback had OK instead of ERROR status Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/85f8ef73 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/85f8ef73 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/85f8ef73 Branch: refs/heads/master Commit: 85f8ef73f965a07c6cf5b18f98b2bf02671fb38f Parents: c6dc03a Author: Shazron Abdullah <shaz...@apache.org> Authored: Tue May 8 15:12:19 2012 -0700 Committer: Shazron Abdullah <shaz...@apache.org> Committed: Tue May 8 15:12:19 2012 -0700 ---------------------------------------------------------------------- CordovaLib/Classes/CDVFile.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/85f8ef73/CordovaLib/Classes/CDVFile.m ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/CDVFile.m b/CordovaLib/Classes/CDVFile.m index 08e184d..3ffb875 100644 --- a/CordovaLib/Classes/CDVFile.m +++ b/CordovaLib/Classes/CDVFile.m @@ -507,7 +507,7 @@ errorCode = NOT_FOUND_ERR; } // log [NSNumber numberWithDouble: theMessage] objCtype to see what it returns - result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsInt: errorCode]; + result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt: errorCode]; jsString = [result toErrorCallbackString:callbackId]; } if (jsString){