[Groonga-commit] groonga/gcs [master] Ignore scenario files like "_xxxx.json", "!xxxx.json", and so on

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Dec 17 18:15:28 JST 2012


YUKI Hiroshi	2012-12-17 18:15:28 +0900 (Mon, 17 Dec 2012)

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

  Log:
    Ignore scenario files like "_xxxx.json", "!xxxx.json", and so on

  Modified files:
    tools/run-scenarios

  Modified: tools/run-scenarios (+1 -1)
===================================================================
--- tools/run-scenarios    2012-12-17 18:10:33 +0900 (1d19fb6)
+++ tools/run-scenarios    2012-12-17 18:15:28 +0900 (65c10a5)
@@ -75,7 +75,7 @@ if (commandLine.options.scenario) {
 
   scenarios = fs.readdirSync(scenariosDir);
   scenarios = scenarios.filter(function(file) {
-    return /\.json$/i.test(file)
+    return /[a-z0-9].*\.json$/i.test(file)
   }).map(function(file) {
     return path.resolve(scenariosDir, file);
   });
-------------- next part --------------
HTML����������������������������...
Télécharger 



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