Closed snario closed 8 years ago
I was getting this issue after a recent commit.
Running "jshint:all" (jshint) task public/js/store.js 1245 | value: (records.length === 1 ) ? (Ext.decode(records[0].data.meta)[v.name] || v.default) : null ^ Expected an identifier and instead saw 'default' (a reserved word). 1255 | checked: (records.length === 1 ) ? ((Ext.decode(records[0].data.meta)[v.name] !== undefined) ? Ext.decode(records[0].data.meta)[v.name] : v.default) : false ^ Expected an identifier and instead saw 'default' (a reserved word). 1273 | value: (records.length === 1 ) ? ((Ext.decode(records[0].data.meta)[v.name]) || v.default) : null ^ Expected an identifier and instead saw 'default' (a reserved word). >> 3 errors in 24 files Warning: Task "jshint:all" failed. Use --force to continue. Aborted due to warnings. ERROR: Service 'gc2core' failed to build: The command '/bin/sh -c cd /var/www/geocloud2 && npm install && grunt production' returned a non-zero code: 3
It was caused by jslint was using ec3. Its now using ec5 where "default" as object property name is allowed. Fixed this last night
I was getting this issue after a recent commit.