fix gitignore again
All checks were successful
Android Build / publish (push) Successful in 31s
Linux Build / publish (push) Successful in 55s

This commit is contained in:
olcxja 2026-05-10 16:36:35 +02:00
commit 5da5c2afe2
3329 changed files with 364540 additions and 3 deletions

View file

@ -0,0 +1,38 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fixEPERMSync = exports.fixEPERM = void 0;
const error_js_1 = require("./error.js");
const fs_js_1 = require("./fs.js");
const ignore_enoent_js_1 = require("./ignore-enoent.js");
const { chmod } = fs_js_1.promises;
const fixEPERM = (fn) => async (path) => {
try {
return void (await (0, ignore_enoent_js_1.ignoreENOENT)(fn(path)));
}
catch (er) {
if ((0, error_js_1.errorCode)(er) === 'EPERM') {
if (!(await (0, ignore_enoent_js_1.ignoreENOENT)(chmod(path, 0o666).then(() => true), er))) {
return;
}
return void (await fn(path));
}
throw er;
}
};
exports.fixEPERM = fixEPERM;
const fixEPERMSync = (fn) => (path) => {
try {
return void (0, ignore_enoent_js_1.ignoreENOENTSync)(() => fn(path));
}
catch (er) {
if ((0, error_js_1.errorCode)(er) === 'EPERM') {
if (!(0, ignore_enoent_js_1.ignoreENOENTSync)(() => ((0, fs_js_1.chmodSync)(path, 0o666), true), er)) {
return;
}
return void fn(path);
}
throw er;
}
};
exports.fixEPERMSync = fixEPERMSync;
//# sourceMappingURL=fix-eperm.js.map