Conversation
| "maxBOF": 0 | ||
| }], | ||
| "no-whitespace-before-property": "error", | ||
| "operator-linebreak": ["error", "after"], |
There was a problem hiding this comment.
Not convinced this is the right fix.
The "operator goes at the end of the line, even for ternary operators" convention has been used throughout the rest of the codebase.
Probably therefore better to fix the "errors" this change has thrown up rather than changing/removing the convention (though, presumably like you, I'm not convinced it's the convention I'd have selected at the outset).
There was a problem hiding this comment.
Yes you're right - laziness on my part since I couldn't work out how to change my editors behaviour :D I'll sort this out once I get the tests working
|
I think your error may be related to what I was looking at in https://github.com/GCHQDeveloper581/CyberChef/tree/fix-issue-XXXX |
|
Actually looking harder at the error returned, I think it's another issue I've (also previously) encountered with the root cause being that some Operations return a Value and others return a Promise. In the normal browser this seems to work out OK but when running under node it creates an issue. |
|
So I worked out the error was this: Which was caused by Jimp attempting to load the font file as XML (which it wasn't). It seems Jimp used to support BMFont text files, but now only supports BMFont XML files. I created a simple program using bmfont_rs to convert the files to XML: As the font files had incorrect negative |


No description provided.