@@ -33,7 +33,7 @@ class Secret {
3333}
3434
3535export function makeSecret ( s : string ) {
36- return ( new Secret ( s ) as any ) as string ;
36+ return new Secret ( s ) as any as string ;
3737}
3838
3939export function isSecret ( s : string ) {
@@ -63,10 +63,10 @@ export function parseNotarizationInfo(info: string): NotarizationInfo {
6363 }
6464 } ;
6565 matchToProperty ( 'uuid' , / \n * R e q u e s t U U I D : ( .+ ?) \n / ) ;
66- matchToProperty ( 'date' , / \n * D a t e : ( .+ ?) \n / , d => new Date ( d ) ) ;
66+ matchToProperty ( 'date' , / \n * D a t e : ( .+ ?) \n / , ( d ) => new Date ( d ) ) ;
6767 matchToProperty ( 'status' , / \n * S t a t u s : ( .+ ?) \n / ) ;
6868 matchToProperty ( 'logFileUrl' , / \n * L o g F i l e U R L : ( .+ ?) \n / ) ;
69- matchToProperty ( 'statusCode' , / \n * S t a t u s C o d e : ( .+ ?) \n / , n => parseInt ( n , 10 ) as any ) ;
69+ matchToProperty ( 'statusCode' , / \n * S t a t u s C o d e : ( .+ ?) \n / , ( n ) => parseInt ( n , 10 ) as any ) ;
7070 matchToProperty ( 'statusMessage' , / \n * S t a t u s M e s s a g e : ( .+ ?) \n / ) ;
7171
7272 if ( out . logFileUrl === '(null)' ) {
@@ -77,5 +77,5 @@ export function parseNotarizationInfo(info: string): NotarizationInfo {
7777}
7878
7979export function delay ( ms : number ) : Promise < void > {
80- return new Promise ( resolve => setTimeout ( resolve , ms ) ) ;
80+ return new Promise ( ( resolve ) => setTimeout ( resolve , ms ) ) ;
8181}
0 commit comments