fix: bug listing submodule paths (#1308)

This commit is contained in:
Tonye Jack
2023-06-25 19:41:25 -06:00
committed by GitHub
parent cb82bb7325
commit 7d7c69556b
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@@ -1870,7 +1870,7 @@ const getSubmodulePath = ({ cwd }) => __awaiter(void 0, void 0, void 0, function
return stdout
.trim()
.split('\n')
.map((line) => normalizePath(line.split(' ')[1]));
.map((line) => normalizePath(line.trim().split(' ')[1]));
});
exports.getSubmodulePath = getSubmodulePath;
const gitSubmoduleDiffSHA = ({ cwd, parentSha1, parentSha2, submodulePath, diff }) => __awaiter(void 0, void 0, void 0, function* () {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long