Gulpfile: unexpected token
Toomean opened this issue · comments
Artem Tumin commented
There is an error inside gulpfile.babel.js
gulpfile.babel.js: Unexpected token (56:1)
54 | return lintBase('app/scripts/**/*.js')
55 | .pipe(dest('app/scripts'));
> 56 | });
| ^
57 | function lintTest() {
58 | return lintBase('test/spec/**/*.js')
59 | .pipe(dest('test/spec'));
Matija Marohnić commented
Thanks for reporting. There are two extra brackets in lint functions, just remove those and you will be fine. Will publish a fix tomorrow.
Deleted user commented
@silvenon I was just about to post the solution to this issue. I am relatively new to programming, it took me a few hours to figure this issue out. Once I took the time to actually read the errors it was easy to find the bug.
Matija Marohnić commented
Should be fixed in v4.0.0-1. 🚀