Skip to content

Commit

Permalink
feat: theme task update
Browse files Browse the repository at this point in the history
  • Loading branch information
SoldierAb committed Dec 22, 2019
1 parent d72946d commit 638ed4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ const themeTask = async (done) => {
return scssTask(done, item);
})
const allFinshed = await Promise.all(allTask)
console.log('themeTask done');
injectTask(done);
if(allFinshed.every(item=>item)){
console.log('themeTask done');
injectTask(done);
}
done()
}

Expand Down

0 comments on commit 638ed4f

Please sign in to comment.