[Groonga-commit] nroonga/norema [master] Change output filename to be .json suffixed

Back to archive index

Yoji SHIDARA null+****@clear*****
Wed Aug 22 20:57:45 JST 2012


Yoji SHIDARA	2012-08-22 20:57:45 +0900 (Wed, 22 Aug 2012)

  New Revision: 7c90d24b0389f1e4871f819ad10e590fed3133ad
  https://github.com/nroonga/norema/commit/7c90d24b0389f1e4871f819ad10e590fed3133ad

  Log:
    Change output filename to be .json suffixed

  Modified files:
    tools/convert.js

  Modified: tools/convert.js (+1 -1)
===================================================================
--- tools/convert.js    2012-08-22 14:51:58 +0900 (562b867)
+++ tools/convert.js    2012-08-22 20:57:45 +0900 (e9f96bf)
@@ -99,7 +99,7 @@ var records = parse(doc);
 async.map(records, addTextField, function(error, results) {
     var sdf = toSdf(results);
     var sdfJson = JSON.stringify(sdf);
-    fs.writeFileSync('all.json.sdf', sdfJson);
+    fs.writeFileSync('all.sdf.json', sdfJson);
   }
 );
 
-------------- next part --------------
HTML����������������������������...
Download 



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