Update retrieving list of submodules.

This commit is contained in:
Tonye Jack 2023-05-24 17:40:06 -06:00
parent 6d389f31d3
commit f7d613fba9

View File

@ -256,10 +256,7 @@ export const getSubmodulePath = async ({
return []
}
return stdout
.split('\n')
.filter(Boolean)
.map(line => line.split(' ')[1])
return stdout.split('\n').map(line => line.split(' ')[1])
}
export const gitSubmoduleDiffSHA = async ({