Skip to content

Commit

Permalink
New: Register tasks by displayName before exported name
Browse files Browse the repository at this point in the history
  • Loading branch information
nmn authored and phated committed Dec 21, 2017
1 parent 7221503 commit fa8eb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/registerExports.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function registerExports(gulpInst, tasks) {
return;
}

gulpInst.task(taskName, task);
gulpInst.task(task.displayName || taskName, task);
}
}

Expand Down

0 comments on commit fa8eb91

Please sign in to comment.