You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FIX error message when prebuildDist.js fails to write
Before this commit, a write error in prebuildDist.js would lead to another
error in the error handling code:
/opt/citizenos/prebuildDist.js:18
console.log('config.ts write FAILED to ' + pathSettings, err);
^
ReferenceError: pathSettings is not defined
at Object.<anonymous> (/opt/citizenos/prebuildDist.js:18:48)
With this commit, the actual error message is displayed as intended:
config.ts write FAILED to /.../browser/assets/config/config.json Error: ENOENT: no such file or directory, open '/.../browser/assets/config/config.json'
at Object.writeFileSync (node:fs:2344:20)
at Object.<anonymous> (/opt/citizenos/prebuildDist.js:16:8)
0 commit comments