diff --git a/dist/index.js b/dist/index.js index b44b771..0a18119 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6073,7 +6073,7 @@ function parseLogOptions(opt = {}, customArgs = []) { suffix.push(`${opt.from || ""}${rangeOperator}${opt.to || ""}`); } if (filterString(opt.file)) { - suffix.push("--follow", opt.file); + command.push("--follow", pathspec(opt.file)); } appendTaskOptions(userOptions(opt), command); return { @@ -6110,6 +6110,7 @@ var excludeOptions; var init_log = __esm({ "src/lib/tasks/log.ts"() { init_log_format(); + init_pathspec(); init_parse_list_log_summary(); init_utils(); init_task(); diff --git a/package-lock.json b/package-lock.json index cd78cf7..7b64706 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "dependencies": { "@actions/core": "1.10.1", "extract-pr-titles": "1.1.0", - "simple-git": "3.19.1" + "simple-git": "3.20.0" }, "devDependencies": { "@vercel/ncc": "0.38.0", @@ -1115,9 +1115,9 @@ } }, "node_modules/simple-git": { - "version": "3.19.1", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.19.1.tgz", - "integrity": "sha512-Ck+rcjVaE1HotraRAS8u/+xgTvToTuoMkT9/l9lvuP5jftwnYUp6DwuJzsKErHgfyRk8IB8pqGHWEbM3tLgV1w==", + "version": "3.20.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.20.0.tgz", + "integrity": "sha512-ozK8tl2hvLts8ijTs18iFruE+RoqmC/mqZhjs/+V7gS5W68JpJ3+FCTmLVqmR59MaUQ52MfGQuWsIqfsTbbJ0Q==", "dependencies": { "@kwsites/file-exists": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1", @@ -2040,9 +2040,9 @@ "dev": true }, "simple-git": { - "version": "3.19.1", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.19.1.tgz", - "integrity": "sha512-Ck+rcjVaE1HotraRAS8u/+xgTvToTuoMkT9/l9lvuP5jftwnYUp6DwuJzsKErHgfyRk8IB8pqGHWEbM3tLgV1w==", + "version": "3.20.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.20.0.tgz", + "integrity": "sha512-ozK8tl2hvLts8ijTs18iFruE+RoqmC/mqZhjs/+V7gS5W68JpJ3+FCTmLVqmR59MaUQ52MfGQuWsIqfsTbbJ0Q==", "requires": { "@kwsites/file-exists": "^1.1.1", "@kwsites/promise-deferred": "^1.1.1", diff --git a/package.json b/package.json index d7c736d..6b9a6c6 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dependencies": { "@actions/core": "1.10.1", "extract-pr-titles": "1.1.0", - "simple-git": "3.19.1" + "simple-git": "3.20.0" }, "devDependencies": { "@vercel/ncc": "0.38.0",