Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/trello.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# Commands:
# hubot assign random url - create a card with url in odj / PR with a random user
# hubot assign random url not user - create a card with url in odj / PR with a random user but not user
# hubot assign random url ios - create a card with url in odj / PR with a random mac user
#
# Author:
# mattboll
Expand Down
7 changes: 7 additions & 0 deletions src/trello/trello.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ func main() {
if secondArg == "not" && len(os.Args) > 3 {
users := os.Args[3:len(os.Args)]
member = getMembers(users)
} else if secondArg == "ios" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si j'ai bien suivi on tombe forcément dans le else avant et jamais dans ios

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est pas faux

member = getMembers([]string{
"@vmaubert",
"@nanak",
"@mattboll",
"@jojo"
})
} else if secondArg != "none" {
member = getId(secondArg)
}
Expand Down