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

View File

@@ -293,7 +293,7 @@ export const getSubmodulePath = async ({
return stdout
.trim()
.split('\n')
.map((line: string) => normalizePath(line.split(' ')[1]))
.map((line: string) => normalizePath(line.trim().split(' ')[1]))
}
export const gitSubmoduleDiffSHA = async ({