wrap the command for submoduleForeach in quotes

This commit is contained in:
jok 2022-10-14 13:39:27 -07:00
parent 8230315d06
commit 98c5f92069

View file

@ -297,7 +297,10 @@ class GitCommandManager {
if (recursive) {
args.push('--recursive')
}
# this is an ugly way to add the quotes around the command
args.push('"')
args.push(command)
args.push('"')
const output = await this.execGit(args)
return output.stdout