Skip to content

Commit 6795a30

Browse files
author
Ben Lavender
committed
Merge pull request #1069 from github/only-load-scripts-once
Only loadScripts once
2 parents f8506cd + 6ec008b commit 6795a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/hubot

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ else
132132
console.log "OK"
133133
process.exit 0
134134

135-
robot.adapter.on 'connected', loadScripts
135+
robot.adapter.once 'connected', loadScripts
136136

137137
robot.run()

0 commit comments

Comments
 (0)