yeoman / generator-webapp

A gulp.js generator for modern webapps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gulpfile: unexpected token

Toomean opened this issue · comments

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'));

Thanks for reporting. There are two extra brackets in lint functions, just remove those and you will be fine. Will publish a fix tomorrow.

@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.

Should be fixed in v4.0.0-1. 🚀