From b6f1275923751b58cbb800d742d55e4139e390b9 Mon Sep 17 00:00:00 2001 From: chenhaodong Date: Mon, 25 Mar 2019 13:37:41 +0800 Subject: [PATCH] 调整index.js以支持依赖 --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 74c4fc0..416bfeb 100644 --- a/src/index.js +++ b/src/index.js @@ -205,4 +205,4 @@ API.lang = (code) => { else console.log(`The ${code} language pack is not loaded.`); // eslint-disable-line no-console }; -module.exports.default = module.exports = API; // eslint-disable-line no-undef +export default API; // eslint-disable-line no-undef -- libgit2 0.21.4