MCPcopy Create free account
hub / github.com/Lazack28/Lazack-Device / pluginFilter

Function pluginFilter

lib/plugins.js:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8const __dirname = Helper.__dirname(import.meta)
9const pluginFolder = Helper.__dirname(join(__dirname, '../lazackcmds/index'))
10const pluginFilter = filename => /\.(mc)?js$/.test(filename)
11
12
13let watcher, plugins, pluginFolders = []

Callers 1

reloadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected