Husky commit correct node modules
This commit is contained in:
1 parent
c66179d93e
commit
10de3d4c54
607 files changed
+136508
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
module.exports = factory;
|
||||
|
||||
const Octokit = require("./constructor");
|
||||
const registerPlugin = require("./register-plugin");
|
||||
|
||||
function factory(plugins) {
|
||||
const Api = Octokit.bind(null, plugins || []);
|
||||
Api.plugin = registerPlugin.bind(null, plugins || []);
|
||||
return Api;
|
||||
}
|
||||
Reference in new issue
Block a user