Closed joeyguerra closed 1 year ago
I want to load an adapter that is in the same folder. Notice this line in robot.js. It doesn't allow me to specify a path to a local file to load as an adapter.
robot.js
const path = Array.from(HUBOT_DEFAULT_ADAPTERS).indexOf(adapter) !== -1 ? `${this.adapterPath}/${adapter}` : `hubot-${adapter}`
I want to do something like hubot -a ./src/adapters/MyCustomAdapter.mjs.
hubot -a ./src/adapters/MyCustomAdapter.mjs
I want to load an adapter that is in the same folder. Notice this line in
robot.js
. It doesn't allow me to specify a path to a local file to load as an adapter.I want to do something like
hubot -a ./src/adapters/MyCustomAdapter.mjs
.