Skip to content

Commit

Permalink
fix(code): Updated module imports
Browse files Browse the repository at this point in the history
Removed unused modules from the files and update the thread-sleep import
  • Loading branch information
kasunkv committed Aug 28, 2017
1 parent ea6c77d commit ea3ab2d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions buildtask/OwaspZapScan/classes/ActiveScan.ts
@@ -1,7 +1,5 @@
import * as Request from 'request';
import * as RequestPromise from 'request-promise';
import * as Task from 'vsts-task-lib';
import * as sleep from 'thread-sleep';

import { ZapScanBase } from './ZapScanBase';
import { ScanResult } from './../interfaces/types/ScanResult';
Expand Down
1 change: 0 additions & 1 deletion buildtask/OwaspZapScan/classes/Reports.ts
Expand Up @@ -3,7 +3,6 @@ import * as path from 'path';
import * as Task from 'vsts-task-lib';
import * as Request from 'request';
import * as RequestPromise from 'request-promise';
import * as sleep from 'thread-sleep';
import * as XmlParser from 'xmljson';

import { AlertItem } from './../interfaces/types/ZapReport';
Expand Down
2 changes: 0 additions & 2 deletions buildtask/OwaspZapScan/classes/SpiderScan.ts
@@ -1,7 +1,5 @@
import * as Request from 'request';
import * as RequestPromise from 'request-promise';
import * as Task from 'vsts-task-lib';
import * as sleep from 'thread-sleep';

import { ZapScanBase } from './ZapScanBase';
import { IZapScan } from './../interfaces/contracts/IZapScan';
Expand Down
2 changes: 1 addition & 1 deletion buildtask/OwaspZapScan/classes/ZapScanBase.ts
@@ -1,7 +1,7 @@
import * as Task from 'vsts-task-lib';
import * as Request from 'request';
import * as RequestPromise from 'request-promise';
import * as sleep from 'thread-sleep';
import sleep = require('thread-sleep');

import { IZapScan } from './../interfaces/contracts/IZapScan';
import { ScanResult } from "../interfaces/types/ScanResult";
Expand Down

0 comments on commit ea3ab2d

Please sign in to comment.