fix: preserve unicode in filepaths when commit signing

This commit is contained in:
Peter Evans
2024-12-27 10:17:57 +00:00
parent b378ed537a
commit 8f72555ae6
4 changed files with 20 additions and 8 deletions

12
dist/index.js vendored
View File

@ -772,6 +772,8 @@ class GitCommandManager {
return __awaiter(this, void 0, void 0, function* () {
const endOfBody = '###EOB###';
const output = yield this.exec([
'-c',
'core.quotePath=false',
'show',
'--raw',
'--cc',
@ -35664,7 +35666,8 @@ __nccwpck_require__.r(__webpack_exports__);
// EXPORTS
__nccwpck_require__.d(__webpack_exports__, {
"default": () => (/* binding */ pLimit)
"default": () => (/* binding */ pLimit),
limitFunction: () => (/* binding */ limitFunction)
});
;// CONCATENATED MODULE: ./node_modules/yocto-queue/index.js
@ -35840,6 +35843,13 @@ function pLimit(concurrency) {
return generator;
}
function limitFunction(function_, option) {
const {concurrency} = option;
const limit = pLimit(concurrency);
return (...arguments_) => limit(() => function_(...arguments_));
}
function validateConcurrency(concurrency) {
if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
throw new TypeError('Expected `concurrency` to be a number from 1 and up');