Skip to content

Commit

Permalink
Quotation change as requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Lucillo committed Feb 4, 2019
1 parent 606ce51 commit da25ebe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/check
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ elif [[ "$bitbucket_type" == "cloud" ]]; then
fi

# take the list of PRs | filter out containing "wip" in title | sort by update-date of commits | remove the date | pick latest PR, wrap as array for concourse
jq -n "[ $prs
| map(select(if .title | test(\"wip\"; \"i\") then false else true end))
jq --argjson prlist "$(jq -n "$prs")" -n '[ $prlist
| map(select(if .title | test("wip"; "i") then false else true end))
| sort_by(.updated_at)
| map(del(.updated_at))
| .[-1] ]" >&3
| .[-1] ]' >&3
fi

0 comments on commit da25ebe

Please sign in to comment.