From d01f1489e019d596183cdfe4a39aeeac34f7217c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 4 Dec 2016 09:34:01 +0000 Subject: [PATCH] Simplify fonts task --- gulpfile.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 0a821de9..5655c2b8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -22,6 +22,7 @@ var config = { outputDir: 'source/assets/css' } }; + var app = {}; app.sass = function(paths, filename) { @@ -67,9 +68,10 @@ gulp.task('clean', function() { }); gulp.task('fonts', function() { - return app.copy([ - config.bowerDir + "/font-awesome/fonts/*" - ], config.fontsDir); + return app.copy( + config.bowerDir + "/font-awesome/fonts/*", + config.fontsDir + ); }); gulp.task('styles', function() {