MCPcopy
hub / github.com/skygragon/leetcode-cli / initPlugins

Function initPlugins

lib/cli.js:61–72  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

59}
60
61function initPlugins(cb) {
62 if (Plugin.init()) {
63 Plugin.save();
64 return cb();
65 } else {
66 Plugin.installMissings(function(e) {
67 if (e) return cb(e);
68 Plugin.init();
69 return cb();
70 });
71 }
72}
73
74var cli = {};
75

Callers 1

cli.jsFile · 0.85

Calls 1

cbFunction · 0.85

Tested by

no test coverage detected