File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,13 @@ export class SslLabsService implements ISslLabsService {
2424 const promise = new Promise < any > ( ( resolve , reject ) => {
2525 try {
2626
27- const options : Options = new Options ( ) ;
28- options . host = this . _taskInput . Hostname ;
29- options . maxAge = 24 ;
30- options . publish = this . _taskInput . PublishScanResults ;
31- options . startNew = this . _taskInput . FreshScan ;
32- options . all = 'done' ;
27+ const options : Options = {
28+ host : this . _taskInput . Hostname ,
29+ maxAge : 24 ,
30+ publish : this . _taskInput . PublishScanResults ,
31+ startNew : this . _taskInput . FreshScan ,
32+ all : 'done'
33+ } ;
3334
3435 SslLabs . scan ( options , ( err : any , res : any ) => {
3536 if ( err ) {
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ declare module 'node-ssllabs' {
1111
1212 class Options {
1313 host : string ;
14- fromCache : boolean ;
14+ fromCache ? : boolean ;
1515 maxAge : number ;
1616 publish : boolean ;
1717 startNew : boolean ;
1818 all : string ;
19- ignoreMismatch : boolean ;
20- s : string ;
19+ ignoreMismatch ? : boolean ;
20+ s ? : string ;
2121 }
2222
2323 // interface Info {
You can’t perform that action at this time.
0 commit comments