-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade to Hubot v11 BREAKING CHANGE: Requires Hubot v11
- Loading branch information
1 parent
3c955a0
commit 8369811
Showing
9 changed files
with
321 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
.nyc_output/ | ||
coverage | ||
.hubot_history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
'use strict' | ||
|
||
import path from 'node:path' | ||
import { fileURLToPath } from 'node:url' | ||
|
||
const __dirname = path.dirname(fileURLToPath(import.meta.url)) | ||
export default (robot) => { | ||
const scriptsPath = path.resolve(__dirname, 'src') | ||
robot.loadFile(scriptsPath, 'RedisBrain.mjs') | ||
} |
Oops, something went wrong.