AI_botter/node_modules/simple-git/promise.js
2024-05-26 09:51:40 -04:00

17 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 }
);