Skip to content

Commit 22dd9e4

Browse files
author
FAREAST\amarnatv
committed
fix review comments
1 parent 6001ee5 commit 22dd9e4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/defender-installer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as fs from 'fs';
22
import * as path from 'path';
33
import * as process from 'process';
4+
import * as http from 'http';
45
import * as https from 'https';
56
import * as tl from 'azure-pipelines-task-lib/task';
67
import * as common from './msdo-common';
@@ -112,7 +113,7 @@ async function downloadDefenderCli(packagesDirectory: string, fileName: string,
112113
* Handles the download response stream
113114
*/
114115
function handleDownloadResponse(
115-
response: any,
116+
response: http.IncomingMessage,
116117
targetFilePath: string,
117118
resolve: () => void,
118119
reject: (error: Error) => void

0 commit comments

Comments
 (0)