Skip to content

Commit eaddd9c

Browse files
committed
fix: update to latest simple-git API
1 parent 33352e8 commit eaddd9c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const SimpleGit = require('simple-git/promise');
3+
const SimpleGit = require('simple-git');
44

55
/* $lab:coverage:off$ */
66
// this is wrapped primarily to be able to stub it

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"js-yaml": "^3.13.1",
4444
"minimist": "^1.2.5",
4545
"pacote": "^11.1.0",
46-
"simple-git": "2.13.1",
46+
"simple-git": "^2.13.1",
4747
"tmp": "^0.2.0"
4848
}
4949
}

test/fixtures/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const Fs = require('fs');
44
const Nock = require('nock');
55
const Path = require('path');
6-
const SimpleGit = require('simple-git/promise');
6+
const SimpleGit = require('simple-git');
77
const Sinon = require('sinon');
88
const Tmp = require('tmp');
99

0 commit comments

Comments
 (0)