Skip to content

Commit

Permalink
style(register): use dot instead of colons in task names
Browse files Browse the repository at this point in the history
  • Loading branch information
Florens Verschelde committed Oct 10, 2016
1 parent 799fd9b commit 6518c53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets-builder/helpers/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ module.exports = function(configs, key, builder) {
var taskNames = []

configs.forEach(function(config, index) {
var id = key + (configs.length > 1 ? ':' + index : '')
var buildId = 'build:' + id
var watchId = 'watch:' + id
var id = key + (configs.length > 1 ? '.' + index : '')
var buildId = 'build.' + id
var watchId = 'watch.' + id

// Register build task
gulp.task(buildId, function() {
Expand Down

0 comments on commit 6518c53

Please sign in to comment.