Skip to content

Commit

Permalink
实时监控,支持windows
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun committed May 24, 2018
1 parent 358d324 commit b7c001f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/lib/api/tnm2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

const serverInfo = require('serverInfo.js');
const mapping = require('./mapping.json');
const {isWindows} = require('util/isWindows.js');
const url = require('url');
const Deferred = require('util/Deferred');
const cluster = require('cluster');
Expand Down Expand Up @@ -90,7 +89,7 @@ var cacheOrRepoet = function(attr, iValue){

var reportOpenapi = function(last){
var defer = Deferred.create();

var openapi = require('util/openapi');
var logger = require('logger');
var config = require('config');
Expand All @@ -105,10 +104,6 @@ var reportOpenapi = function(last){
return;
}

if(isWindows){
return;
}

if(config.isTest){
return;
}
Expand Down

0 comments on commit b7c001f

Please sign in to comment.