Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ linters:
- dupword
- gocritic
- gosec
- modernize
- nolintlint
- perfsprint
- prealloc
Expand Down
2 changes: 1 addition & 1 deletion cmd/apps_rebuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ of apps. This command allows you to trigger a rebuild of a locally built app.
})

if appsRebuildForce {
request.SetBody(map[string]interface{}{
request.SetBody(map[string]any{
"force": true,
})
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/auth_reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ func getUsers() ([]User, error) {
return nil, err
}

for _, user := range data.Data["users"].([]interface{}) {
user := user.(map[string]interface{})
for _, user := range data.Data["users"].([]any) {
user := user.(map[string]any)
result = append(result, User{
Username: user["username"].(string),
Name: user["name"].(string),
Expand Down
2 changes: 1 addition & 1 deletion spinner/character_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var CharSets = map[int][]string{
}

func init() {
for i := rune(0); i < 12; i++ {
for i := range rune(12) {
CharSets[37] = append(CharSets[37], string([]rune{clockOneOClock + i}))
CharSets[38] = append(CharSets[38], string([]rune{clockOneOClock + i}), string([]rune{clockOneThirty + i}))
}
Expand Down