Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit 58e3abc

Browse files
add return when api url is not set in time script
1 parent 3f5f63f commit 58e3abc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scripts/time.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module.exports = (robot) ->
3131
return
3232
unless process.env.HUBOT_WWO_API_URL
3333
msg.send 'Please, set HUBOT_WWO_API_URL environment variable'
34+
return
3435
msg.http(process.env.HUBOT_WWO_API_URL)
3536
.query({
3637
q: msg.match[1]

0 commit comments

Comments
 (0)