abuiles / ember-watson

An Ember.js codemod to make upgrades automatic.

Home Page:https://blog.abuiles.com/ember-watson/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-watson barfs on trailing commas

tim-evans opened this issue · comments

I'm trying to get the codeclimate platform working on some open source, and ran into a problem with codeclimate-watson failing on trailing commas in object literals.

error: (JSON::ParserError) 757: unexpected token at 'Oh Dear! I wasn't able to save the following files:
tests/unit/services/uploader-test.js

A possible cause is having all the source code commented.
If that's not the problem please fill a report with the hospital directors
at https://github.com/abuiles/ember-watson/issues.


'

Nevermind. Trailing commas aren't allowed in imports.