diff --git a/dist/index.js b/dist/index.js index df77d86..e865a0d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -498,7 +498,7 @@ class GitAuthHelper { core.debug(`Error during includeIf cleanup: ${err}`); } // Remove submodule includeIf - yield this.git.submoduleForeach(`sh -c "git config --local --get-regexp '^includeIf\\.' && git config --local --remove-section includeIf || :"`, true); + yield this.git.submoduleForeach(`sh -c "git config --local --get-regexp '^includeif\\.' && git config --local --remove-section includeif || :"`, true); // Remove credentials config file if (this.credentialsConfigPath) { try { diff --git a/src/git-auth-helper.ts b/src/git-auth-helper.ts index a529041..3576ba9 100644 --- a/src/git-auth-helper.ts +++ b/src/git-auth-helper.ts @@ -474,7 +474,7 @@ class GitAuthHelper { // Remove submodule includeIf await this.git.submoduleForeach( - `sh -c "git config --local --get-regexp '^includeIf\\.' && git config --local --remove-section includeIf || :"`, + `sh -c "git config --local --get-regexp '^includeif\\.' && git config --local --remove-section includeif || :"`, true )