fix: bug listing submodule paths (#1308)
This commit is contained in:
parent
cb82bb7325
commit
7d7c69556b
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@ -1870,7 +1870,7 @@ const getSubmodulePath = ({ cwd }) => __awaiter(void 0, void 0, void 0, function
|
|||||||
return stdout
|
return stdout
|
||||||
.trim()
|
.trim()
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.map((line) => normalizePath(line.split(' ')[1]));
|
.map((line) => normalizePath(line.trim().split(' ')[1]));
|
||||||
});
|
});
|
||||||
exports.getSubmodulePath = getSubmodulePath;
|
exports.getSubmodulePath = getSubmodulePath;
|
||||||
const gitSubmoduleDiffSHA = ({ cwd, parentSha1, parentSha2, submodulePath, diff }) => __awaiter(void 0, void 0, void 0, function* () {
|
const gitSubmoduleDiffSHA = ({ cwd, parentSha1, parentSha2, submodulePath, diff }) => __awaiter(void 0, void 0, void 0, function* () {
|
||||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -293,7 +293,7 @@ export const getSubmodulePath = async ({
|
|||||||
return stdout
|
return stdout
|
||||||
.trim()
|
.trim()
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.map((line: string) => normalizePath(line.split(' ')[1]))
|
.map((line: string) => normalizePath(line.trim().split(' ')[1]))
|
||||||
}
|
}
|
||||||
|
|
||||||
export const gitSubmoduleDiffSHA = async ({
|
export const gitSubmoduleDiffSHA = async ({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user