hubot 5.0.4 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/robot.js +0 -11
package/package.json
CHANGED
package/src/robot.js
CHANGED
|
@@ -389,17 +389,6 @@ class Robot {
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
// Public: Load scripts specified in the `hubot-scripts.json` file.
|
|
393
|
-
//
|
|
394
|
-
// path - A String path to the hubot-scripts files.
|
|
395
|
-
// scripts - An Array of scripts to load.
|
|
396
|
-
//
|
|
397
|
-
// Returns nothing.
|
|
398
|
-
loadHubotScripts (path, scripts) {
|
|
399
|
-
this.logger.debug(`Loading hubot-scripts from ${path}`)
|
|
400
|
-
Array.from(scripts).map(script => this.loadFile(path, script))
|
|
401
|
-
}
|
|
402
|
-
|
|
403
392
|
// Public: Load scripts from packages specified in the
|
|
404
393
|
// `external-scripts.json` file.
|
|
405
394
|
//
|