Closed huw closed 5 years ago
There's a boolean typo in sketch-specifics.js which means resourcePath() always fails by returning undefined. This PR fixes that
sketch-specifics.js
resourcePath()
Currently:
if (typeof __command === 'undefined' || __command.pluginBundle()) { return undefined }
Here, __command.pluginBundle() will be truthy in situations where we want to use it later on. So the function will return undefined incorrectly — we can flip that boolean to be !__command.pluginBundle(), and the function will correctly fail.
__command.pluginBundle()
undefined
!__command.pluginBundle()
There's a boolean typo in
sketch-specifics.js
which meansresourcePath()
always fails by returning undefined. This PR fixes thatCurrently:
Here,
__command.pluginBundle()
will be truthy in situations where we want to use it later on. So the function will returnundefined
incorrectly — we can flip that boolean to be!__command.pluginBundle()
, and the function will correctly fail.