incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Noticed typo in File.getMetadata - error callback had OK instead of ERROR status
Date Tue, 08 May 2012 22:12:25 GMT
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 <shazron@apache.org>
Authored: Tue May 8 15:12:19 2012 -0700
Committer: Shazron Abdullah <shazron@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){


Mime
View raw message