Skip to content

Commit

Permalink
Merge pull request #1642 from hubotio/remove-load-hubot-scripts
Browse files Browse the repository at this point in the history
Remove loadHubotScripts
  • Loading branch information
joeyguerra committed Jun 11, 2023
2 parents 141fb7d + c3eb634 commit f58f7bc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/robot.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,17 +389,6 @@ class Robot {
}
}

// Public: Load scripts specified in the `hubot-scripts.json` file.
//
// path - A String path to the hubot-scripts files.
// scripts - An Array of scripts to load.
//
// Returns nothing.
loadHubotScripts (path, scripts) {
this.logger.debug(`Loading hubot-scripts from ${path}`)
Array.from(scripts).map(script => this.loadFile(path, script))
}

// Public: Load scripts from packages specified in the
// `external-scripts.json` file.
//
Expand Down

0 comments on commit f58f7bc

Please sign in to comment.