File tree Expand file tree Collapse file tree 4 files changed +2895
-3839
lines changed
Expand file tree Collapse file tree 4 files changed +2895
-3839
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 strategy :
1010 matrix :
11- node-version : [14 .x]
11+ node-version : [20 .x]
1212 steps :
1313 - uses : actions/checkout@v2
1414 - name : Build on Node.js ${{ matrix.node-version }}
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ module.exports = (options) => {
2424
2525 const mongoOptions = { ...config . options } ;
2626
27- if ( config . showConnectionString ) {
27+ if ( config . showConnectionString ) {
2828 logger . info ( `Connecting to ${ config . url } ` ) ;
29- } else {
30- logger . info ( ` Connecting to server <hidden connection url>` ) ;
29+ } else {
30+ logger . info ( ' Connecting to server <hidden connection url>' ) ;
3131 }
3232
3333 try {
34- client = await MongoClientInstance . connect ( config . url , mongoOptions ) ;
34+ client = await MongoClientInstance . connect ( config . url , mongoOptions ) ;
3535
3636 return client ;
3737 } catch ( error ) {
@@ -48,7 +48,7 @@ module.exports = (options) => {
4848 if ( config . showConnectionString ) {
4949 logger . info ( `Disconnecting from ${ config . url } ` ) ;
5050 } else {
51- logger . info ( ` Disconnecting from server <hidden connection url>` ) ;
51+ logger . info ( ' Disconnecting from server <hidden connection url>' ) ;
5252 }
5353 await client . close ( ) ;
5454 } ;
You can’t perform that action at this time.
0 commit comments