revert default plugins_path
This commit is contained in:
parent
c956691d3d
commit
bedf147e93
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ const pluginController = {
|
||||||
_load() {
|
_load() {
|
||||||
const settingsController = require('./settings')
|
const settingsController = require('./settings')
|
||||||
// load custom plugins
|
// load custom plugins
|
||||||
const plugins_path = config.plugins_path || path.resolve(process.env.cwd || '', 'gancio_plugins')
|
const plugins_path = config.plugins_path || path.resolve(process.env.cwd || '', 'plugins')
|
||||||
log.info(`Loading plugin ${plugins_path}`)
|
log.info(`Loading plugin ${plugins_path}`)
|
||||||
if (fs.existsSync(plugins_path)) {
|
if (fs.existsSync(plugins_path)) {
|
||||||
const plugins = fs.readdirSync(plugins_path)
|
const plugins = fs.readdirSync(plugins_path)
|
||||||
|
|
Loading…
Reference in a new issue