File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ const poolModule = (() => {
102102 }
103103
104104 getQueryId ( ) {
105- return this . queryObj != null ? this . queryObj : - 1
105+ return this . queryObj ?? - 1
106106 }
107107
108108 isPendingCancel ( ) {
@@ -375,7 +375,7 @@ const poolModule = (() => {
375375 if ( closed ) {
376376 return
377377 }
378- grow ( ) . then ( ( ) => {
378+ void grow ( ) . then ( ( ) => {
379379 promotePause ( )
380380 while ( workQueue . length > 0 && idle . length > 0 ) {
381381 const work = workQueue . pop ( )
@@ -688,7 +688,7 @@ const poolModule = (() => {
688688 const promisedClose = description . connection . promises . close ( )
689689 toPromise . push ( promisedClose )
690690 }
691- Promise . all ( toPromise ) . then ( ( ) => {
691+ void Promise . all ( toPromise ) . then ( ( ) => {
692692 clientPromises . open ( options . connectionString ) . then ( conn => {
693693 description . recreate ( conn )
694694 checkin ( 'recreate' , description )
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ const userModule = ((() => {
9292 }
9393
9494 parse ( s ) {
95- if ( ! this . parseHHMMSS ( s ) && ! this . parseMMSS ( s ) && ! this . parseSS ( s ) ) {
96- this . value = s
95+ if ( ! this . parseHHMMSS ( s ) && ! this . parseMMSS ( s ) /* && !this.parseSS(s) */ ) {
96+ this . value = ( typeof s === 'string' ) ? new Date ( s ) : s
9797 }
9898 }
9999
You can’t perform that action at this time.
0 commit comments