Skip to content

Commit

Permalink
chore: rm unnecessary pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
lvlcn-t committed Apr 29, 2024
1 parent 5ed231d commit 1a22a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ repos:
- id: golangci-lint-repo-mod
args: [--config, .golangci.yaml, --, --fix]

- repo: https://github.com/norwoodj/helm-docs
rev: v1.13.1
hooks:
- id: helm-docs
args:
- --chart-search-root=chart

# If this is used for business, a free license is required.
# It can be obtained from https://gitleaks.io/products.html
- repo: https://github.com/gitleaks/gitleaks
Expand Down
4 changes: 2 additions & 2 deletions config/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ func SetBinaryName(name string) {
// SetFs replaces the default filesystem with the provided one.
// This may only be used for testing purposes.
// This function is not safe for concurrent use.
func SetFs(fs afero.Fs) {
fsys = fs
func SetFs(filesystem afero.Fs) {
fsys = filesystem
}

// defaultFallback returns the default fallback path for the configuration file.
Expand Down

0 comments on commit 1a22a28

Please sign in to comment.