Skip to content
Permalink
Browse files

fix(api option): exclude.default.server.files, introduced with gulp v…

…4 upgrade
  • Loading branch information
jyounce committed Nov 2, 2017
1 parent c6056e8 commit f38654704215affcce84715c24718e01c5825400
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/helpers/tasks.coffee
@@ -11,10 +11,11 @@ module.exports = (config, gulp={}) ->
getTasks = (tasksCb, type, lang, locs) ->
tasks = []
locs.forEach (v1) ->
['rb','app'].forEach (v2) ->
tasks.push
src: config.glob.src[v2][v1][type][lang]
dest: config.dist[v2][v1][type].dir
for v2 in ['rb','app']
src = config.glob.src[v2][v1][type][lang]
dest = config.dist[v2][v1][type].dir
continue unless src and src.length # gulp 4 requires a src value
tasks.push { src, dest }
tasks.forEach (v, i) ->
tasks[i] = -> tasksCb v.src, v.dest
tasks

0 comments on commit f386547

Please sign in to comment.
You can’t perform that action at this time.