huqi 5 лет назад
Родитель
Сommit
d93acbe599
1 измененных файлов с 0 добавлено и 15 удалено
  1. 0 15
      o2web/gulpfile.js

+ 0 - 15
o2web/gulpfile.js

@@ -47,21 +47,6 @@ function setOptions(op1, op2){
 var options = {};
 setOptions(o_options, getEvOptions(o_options.ev));
 
-var readlineSync = require('readline-sync');
-function testQ(cb){
-    if (readlineSync.keyInYN('Do you want this module?')) {
-        // 'Y' key was pressed.
-        console.log('Installing now...');
-        // Do something...
-    } else {
-        // Another key was pressed.
-        console.log('Searching another...');
-        // Do something...
-    }
-    cb();
-}
-exports.testQ = testQ;
-
 var appTasks = [];
 function getAppTask(path, isMin, thisOptions) {
     return function (cb) {