Skip to content

Commit

Permalink
Fix: Keep task name precedence consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
erikkemperman authored and phated committed Jun 22, 2016
1 parent e971951 commit ec61638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/buildTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function buildTree(tasks){
return meta.tree;
}

var name = task.name || task.displayName || '<anonymous>';
var name = task.displayName || task.name || '<anonymous>';
meta = {
name: name,
tree: {
Expand Down

0 comments on commit ec61638

Please sign in to comment.