Added missing return into task load helper

This commit is contained in:
squidfunk 2016-10-31 17:10:31 +01:00
parent ee91b92c4a
commit 23ebd31b30

View File

@ -92,7 +92,7 @@ gulp.src = (...glob) => {
* Helper function to load a task
*/
const load = task => {
require(`./${config.lib}/tasks/${task}`)(gulp, config, args)
return require(`./${config.lib}/tasks/${task}`)(gulp, config, args)
}
/* ----------------------------------------------------------------------------