Skip to content

Commit 6518c53

Browse files
author
Florens Verschelde
committed
style(register): use dot instead of colons in task names
1 parent 799fd9b commit 6518c53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets-builder/helpers/register.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ module.exports = function(configs, key, builder) {
1616
var taskNames = []
1717

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

2323
// Register build task
2424
gulp.task(buildId, function() {

0 commit comments

Comments
 (0)