[Groonga-commit] groonga/gcs [master] Fix syntax error

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 5 14:49:34 JST 2012


YUKI Hiroshi	2012-11-05 14:49:34 +0900 (Mon, 05 Nov 2012)

  New Revision: 3dac5cbba6d2195bba6347a21af608cda89f7e40
  https://github.com/groonga/gcs/commit/3dac5cbba6d2195bba6347a21af608cda89f7e40

  Log:
    Fix syntax error

  Modified files:
    lib/database/domain.js

  Modified: lib/database/domain.js (+4 -4)
===================================================================
--- lib/database/domain.js    2012-11-05 14:48:48 +0900 (2758c04)
+++ lib/database/domain.js    2012-11-05 14:49:34 +0900 (cbca0dc)
@@ -52,7 +52,7 @@ function assertValidDomainName(domain) {
 
   if (!domain.match(exports.VALID_NAME_PATTERN)) {
     errors.push(new Error(commonPrefix + 'Member must satisfy regular ' +
-                          'expression pattern: ' + exports.VALID_NAME_PATTERN);
+                          'expression pattern: ' + exports.VALID_NAME_PATTERN));
   } else {
     var invalidCharacters = domain.match(exports.INVALID_TABLE_NAME_CHARACTER_PATTERN);
     if (invalidCharacters) {
@@ -61,17 +61,17 @@ function assertValidDomainName(domain) {
                               return "'" + aCharacter + "'";
                             });
       errors.push(new Error(commonPrefix + 'Member cannot include these ' +
-                            'characters: ' + invalidCharacters.join(', '));
+                            'characters: ' + invalidCharacters.join(', ')));
     }
   }
 
   if (domain.length < exports.MINIMUM_NAME_LENGTH)
     errors.push(new Error(commonPrefix + 'Member must have length greater ' +
-                          'than or equal to ' + exports.MINIMUM_NAME_LENGTH);
+                          'than or equal to ' + exports.MINIMUM_NAME_LENGTH));
 
   if (domain.length > exports.MAXIMUM_NAME_LENGTH)
     errors.push(new Error(commonPrefix + 'Member must have length smaller ' +
-                          'than or equal to ' + exports.MAXIMUM_NAME_LENGTH);
+                          'than or equal to ' + exports.MAXIMUM_NAME_LENGTH));
 
   if (errors.length)
     throw errors;
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index