File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export default class MongoBinary {
131131
132132 if ( opts . debug ) {
133133 if ( typeof opts . debug === 'function' && opts . debug . apply && opts . debug . call ) {
134- debug = opts . debug ;
134+ this . debug = opts . debug ;
135135 } else {
136136 this . debug = console . log . bind ( null ) ;
137137 }
@@ -149,7 +149,7 @@ export default class MongoBinary {
149149 if ( systemBinary ) {
150150 binaryPath = await this . getSystemPath ( systemBinary ) ;
151151 if ( binaryPath ) {
152- const binaryVersion = execSync ( 'mongod --version' )
152+ const binaryVersion = execSync ( ` ${ binaryPath } --version` )
153153 . toString ( )
154154 . split ( '\n' ) [ 0 ]
155155 . split ( ' ' ) [ 2 ] ;
Original file line number Diff line number Diff line change @@ -2200,6 +2200,11 @@ decompress@^4.2.0:
22002200 pify "^2.3.0"
22012201 strip-dirs "^2.0.0"
22022202
2203+ dedent@^0.7.0 :
2204+ version "0.7.0"
2205+ resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
2206+ integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=
2207+
22032208deep-extend@^0.6.0 :
22042209 version "0.6.0"
22052210 resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
You can’t perform that action at this time.
0 commit comments