mirror of
https://github.com/actions/checkout.git
synced 2025-03-14 10:07:00 +00:00
wrap the command for submoduleForeach in quotes
This commit is contained in:
parent
8230315d06
commit
98c5f92069
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue