3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-16 19:27:39 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

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 ({