mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 04:29:02 +02:00
appease the linter
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Copyright 2025 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
//go:generate go run main.go ../../
|
||||
|
||||
package main
|
||||
@@ -61,7 +63,7 @@ func generatePaths(root string) map[string]any {
|
||||
}
|
||||
|
||||
func writeMapToFile(filename string, data map[string]any) {
|
||||
bytes, err := json.MarshalIndent(data, "", "\t")
|
||||
bytes, err := json.MarshalIndent(data, "", " ")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user