Skip to content

Commit 64210f8

Browse files
committed
fix(help): don't include the help command description when listing worker help
1 parent 21bf92e commit 64210f8

3 files changed

Lines changed: 6 additions & 21 deletions

File tree

DiscoveryServiceAdapter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export default class DiscoveryServiceAdapter extends Adapter {
197197

198198
const commands = this.robot.commands.listCommands()
199199

200-
return commands.map(cmd => ({
200+
return commands.filter(cmd => cmd.id !== 'help').map(cmd => ({
201201
id: cmd.id,
202202
description: cmd.description || 'No description',
203203
aliases: cmd.aliases || [],

package-lock.json

Lines changed: 4 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"ws": "^8.18.0"
5050
},
5151
"peerDependencies": {
52-
"hubot": ">=14"
52+
"hubot": "^14.0.1"
5353
},
5454
"engines": {
5555
"node": ">=24.0.0"

0 commit comments

Comments
 (0)