couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1081100 - /couchdb/trunk/src/couchdb/couch_js_functions.hrl
Date Sun, 13 Mar 2011 12:45:38 GMT
Author: fdmanana
Date: Sun Mar 13 12:45:38 2011
New Revision: 1081100

URL: http://svn.apache.org/viewvc?rev=1081100&view=rev
Log:
Fix grammar error in error message

Modified:
    couchdb/trunk/src/couchdb/couch_js_functions.hrl

Modified: couchdb/trunk/src/couchdb/couch_js_functions.hrl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_js_functions.hrl?rev=1081100&r1=1081099&r2=1081100&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_js_functions.hrl (original)
+++ couchdb/trunk/src/couchdb/couch_js_functions.hrl Sun Mar 13 12:45:38 2011
@@ -213,7 +213,7 @@
                         var role = user_ctx.roles[i];
 
                         if (typeof role !== 'string' || role.length === 0) {
-                            reportError('Roles must be a non-empty strings.');
+                            reportError('Roles must be non-empty strings.');
                         }
                         if (role[0] === '_') {
                             reportError('System roles (starting with an ' +



Mime
View raw message