Skip to content

Commit

Permalink
fix: bug listing submodule paths (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Jun 26, 2023
1 parent cb82bb7 commit 7d7c695
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ({
Expand Down

0 comments on commit 7d7c695

Please sign in to comment.