[Groonga-commit] groonga/gcs [master] Remove obsolete codes

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Nov 12 18:55:06 JST 2012


YUKI Hiroshi	2012-11-12 18:55:06 +0900 (Mon, 12 Nov 2012)

  New Revision: 70800c268ab8c81839d8d22854004c0a176728f5
  https://github.com/groonga/gcs/commit/70800c268ab8c81839d8d22854004c0a176728f5

  Log:
    Remove obsolete codes

  Modified files:
    tools/scenario-runner.js

  Modified: tools/scenario-runner.js (+0 -8)
===================================================================
--- tools/scenario-runner.js    2012-11-12 18:51:49 +0900 (4d32b45)
+++ tools/scenario-runner.js    2012-11-12 18:55:06 +0900 (88ef9df)
@@ -1,6 +1,4 @@
 var Client = require(__dirname + '/../lib/client').Client;
-var fs = require('fs');
-var path = require('path');
 
 var statusCodeTable = {
   500: 'Inetnal Server Error',
@@ -44,12 +42,6 @@ Runner.prototype = {
     );
   },
 
-  toFileName: function(scenarioName) {
-    return scenarioName
-             .replace(/[^a-zA-Z0-9]+/g, '-')
-             .replace(/-$/, '') + '.txt';
-  },
-
   _processScenario: function(scenario, callback) {
     if (!scenario.start) {
       scenario.start = Date.now();
-------------- next part --------------
HTML����������������������������...
Download 



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