[Groonga-commit] groonga/gcs [master] Fix typo: test => match

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Dec 4 14:45:48 JST 2012


YUKI Hiroshi	2012-12-04 14:45:48 +0900 (Tue, 04 Dec 2012)

  New Revision: 1f40dd5285d95646a649193d5761238679c89f7f
  https://github.com/groonga/gcs/commit/1f40dd5285d95646a649193d5761238679c89f7f

  Log:
    Fix typo: test => match

  Modified files:
    bin/gcs-describe-domain

  Modified: bin/gcs-describe-domain (+1 -1)
===================================================================
--- bin/gcs-describe-domain    2012-12-04 14:39:10 +0900 (3875561)
+++ bin/gcs-describe-domain    2012-12-04 14:45:48 +0900 (de840f9)
@@ -18,7 +18,7 @@ var client = new Client(commandLine);
 
 
 function arnToEndpoint(arn, prefix) {
-  var match = arn.test(/^arn:aws:cs:[^:]+:([^:]+):(?:doc|search)/(.+)$/);
+  var match = arn.match(/^arn:aws:cs:[^:]+:([^:]+):(?:doc|search)/(.+)$/);
   if (!match)
     client.raiseFatalError('invalid arn: ' + arn);
 
-------------- next part --------------
HTML����������������������������...
Download 



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