Skip to content

Commit

Permalink
Merge pull request kcmerrill#30 from yemble/zb/whitespace
Browse files Browse the repository at this point in the history
trim whitespace before parsing multitaask
  • Loading branch information
kcmerrill authored Mar 17, 2017
2 parents 2fe3e88 + 3dd9715 commit 2dbf10d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alfred/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func (t *Task) Aliases() []string {

//TaskGroup takes in a string(bleh(1234) whatever(bleh, woot)) and returns the values and args
func (t *Task) TaskGroup(tasks string, args []string) []TaskDefinition {
tasks = strings.TrimSpace(tasks)
results := make([]TaskDefinition, 0)
if tasks == "" {
// If there is nothing, then there is nothing to report
Expand Down

0 comments on commit 2dbf10d

Please sign in to comment.