generated from ShadowVR/AI_botter
18 lines
570 B
JavaScript
18 lines
570 B
JavaScript
|
console.error(`=============================================
|
||
|
simple-git has supported promises / async await since version 2.6.0.
|
||
|
Importing from 'simple-git/promise' has been deprecated and will
|
||
|
report this error until the next major release of version 4.
|
||
|
|
||
|
To upgrade, change all 'simple-git/promise' imports to just 'simple-git'
|
||
|
=============================================`);
|
||
|
|
||
|
const simpleGit = require('.');
|
||
|
|
||
|
module.exports = Object.assign(
|
||
|
function () {
|
||
|
return simpleGit.gitP.apply(null, arguments);
|
||
|
},
|
||
|
simpleGit,
|
||
|
{ default: simpleGit.gitP }
|
||
|
);
|