Update gitignore (sorry)
Some checks failed
Android Build / publish (push) Successful in 33s
Linux Build / publish (push) Failing after 25s

This commit is contained in:
olcxja 2026-05-10 14:02:17 +02:00
commit cca8b02fea
6604 changed files with 1219661 additions and 4 deletions

32
electron/node_modules/ensure-error/index.js generated vendored Normal file
View file

@ -0,0 +1,32 @@
'use strict';
const util = require('util');
class NonError extends Error {
constructor(message) {
super(util.inspect(message));
this.name = 'NonError';
Error.captureStackTrace(this, NonError);
}
}
module.exports = input => {
if (!(input instanceof Error)) {
return new NonError(input);
}
const error = input;
if (!error.name) {
error.name = (error.constructor && error.constructor.name) || 'Error';
}
if (!error.message) {
error.message = '<No error message>';
}
if (!error.stack) {
error.stack = (new Error(error.message)).stack.replace(/\n {4}at /, '\n<Original stack missing>$&');
}
return error;
};