Skip to content

Commit

Permalink
fmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
revelaction committed Oct 17, 2023
1 parent a0d76dd commit 4a46a76
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/privage/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func labelExists(label string, identity id.Identity) bool {
}
}

for k, _ := range labels {
for k := range labels {
if k == label {
return true
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/privage/bash.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func bashCompleteCategory(ctx *cli.Context) {

}

for k, _ := range categories {
for k := range categories {
fmt.Println(k)
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/privage/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func statusAction(ctx *cli.Context) error {

cnt := 0
if s.Id.Id != nil {
for _ = range headerGenerator(s.Repository, s.Id) {
for range headerGenerator(s.Repository, s.Id) {
cnt++
}

Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func New(path string) (*Config, error) {
}

// expand ~/
conf, err := expandHome(conf)
conf, err := expandHome(conf)
if err != nil {
return &Config{}, fmt.Errorf("Could not expand home", err)
}
Expand Down

0 comments on commit 4a46a76

Please sign in to comment.