1 | console.error(`=============================================
|
2 | simple-git has supported promises / async await since version 2.6.0.
|
3 | Importing from 'simple-git/promise' has been deprecated and will
|
4 | report this error until the next major release of version 4.
|
5 |
|
6 | To upgrade, change all 'simple-git/promise' imports to just 'simple-git'
|
7 | =============================================`);
|
8 |
|
9 | const simpleGit = require('.');
|
10 |
|
11 | module.exports = Object.assign(
|
12 | function () {
|
13 | return simpleGit.gitP.apply(null, arguments);
|
14 | },
|
15 | simpleGit,
|
16 | { default: simpleGit.gitP }
|
17 | );
|