Skip to content

Commit 7a0a7e2

Browse files
committed
Call git config without repo_run to avoid error
Signed-off-by: Clarence "Sparr" Risher <clrnc@amazon.com>
1 parent 0ab55f8 commit 7a0a7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/git-secrets.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ load test_helper
274274
}
275275

276276
@test "Adds common AWS patterns" {
277-
repo_run git config --unset-all secrets
277+
git config --unset-all secrets.providers || true
278278
repo_run git-secrets --register-aws
279279
git config --local --get secrets.providers
280280
repo_run git-secrets --list

0 commit comments

Comments
 (0)