update .gitignore

This commit is contained in:
2025-03-14 23:44:26 +08:00
parent 1b1942fde6
commit d423f6786b
6241 changed files with 718051 additions and 15 deletions

21
node_modules/js-git/lib/wrap-handler.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
"use strict";
module.exports = wrapHandler;
function wrapHandler(fn, onError) {
if (onError) {
return function (err, value) {
if (err) return onError(err);
try {
return fn(value);
}
catch (err) {
return onError(err);
}
};
}
return function (err, value) {
if (err) throw err;
return fn(value);
};
}