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

Commit 0477f1f

Browse files
Merge pull request #1355 from bhcleek/master
handle incomplete tc list builds command
2 parents ae19396 + 7bab236 commit 0477f1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/scripts/teamcity.coffee

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ module.exports = (robot) ->
225225
configuration = option
226226
project = null
227227

228+
unless configuration?
229+
msg.send "builds of which project?"
230+
return
231+
228232
buildTypeRE = /^\s*of (.*?) of (.+) (\d+)/i
229233
buildTypeMatches = option.match buildTypeRE
230234
if buildTypeMatches?

0 commit comments

Comments
 (0)