[Groonga-commit] groonga/gcs [master] Give domain and field names to console.log() correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Aug 27 16:40:55 JST 2012


YUKI Hiroshi	2012-08-27 16:40:55 +0900 (Mon, 27 Aug 2012)

  New Revision: ddb7296779e5c9702ea773a7deeea59d9dea1272
  https://github.com/groonga/gcs/commit/ddb7296779e5c9702ea773a7deeea59d9dea1272

  Log:
    Give domain and field names to console.log() correctly

  Modified files:
    bin/gcs-configure-default-search-field

  Modified: bin/gcs-configure-default-search-field (+3 -1)
===================================================================
--- bin/gcs-configure-default-search-field    2012-08-27 16:40:28 +0900 (f12be1c)
+++ bin/gcs-configure-default-search-field    2012-08-27 16:40:55 +0900 (556459f)
@@ -23,7 +23,9 @@ if (field && field.exists()) {
               field.name,
               commandLine.domain.name);
 } else if (commandLine.options.name) {
-  console.log('"%s" is not a field of "%s".');
+  console.log('"%s" is not a field of "%s".',
+              field.name,
+              commandLine.domain.name);
   return process.exit(1);
 } else {
   console.log('Resetting the default search field of "%s"...',
-------------- next part --------------
HTML����������������������������...
다운로드 



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