Skip to content

Commit

Permalink
removeGitConfig should follow nested submodule setting for not
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjh89017 committed Dec 17, 2022
1 parent 3ba5ee6 commit f6003df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git-auth-helper.ts
Original file line number Diff line number Diff line change
@@ -368,7 +368,7 @@ class GitAuthHelper {
await this.git.submoduleForeach(
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
`sh -c "git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :"`,
true
this.settings.nestedSubmodules
)
}
}

0 comments on commit f6003df

Please sign in to comment.