adobe-photoshop/generator-assets — pull request #270 by jhatwich (2014-08-25 18:04:41+00:00)
Title: log invalid layerComp scale to errors.txt

Fixes a bug @iwehrman found where changing a layer comp name to have a 0% prefix, yields the error message below in the console. The error message is now logged to errors.txt

debug:generator-assets 07:39:25.392 assetmanager.js:442:22] handleChange: { comps:
{ '1533345388':
{ id: 1533345388,
name: '0% Layer Coooomp 2.png8',
position: false,
visibility: true,
appearance: false,
layerSettings: [Object],
type: 'changed' } },
id: 35,
timeStamp: 1408977565.388,
count: 10 }
result.component not found, instead {"errors":["Invalid scale: 0%"]}