lint: official action (#6156)
* switch from review dog to official golangci action * fix release * disable nolintlint and wsl * fix linting issues * have name adhere to required * add timeout Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Alessio Treglia
mergify[bot]
parent
9d022c17b7
commit
54ed8d7a2c
+2
-2
@@ -81,7 +81,7 @@ func CheckExportSimulation(
|
||||
return err
|
||||
}
|
||||
|
||||
if err := ioutil.WriteFile(config.ExportStatePath, []byte(appState), 0644); err != nil {
|
||||
if err := ioutil.WriteFile(config.ExportStatePath, []byte(appState), 0600); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
@@ -93,7 +93,7 @@ func CheckExportSimulation(
|
||||
return err
|
||||
}
|
||||
|
||||
if err := ioutil.WriteFile(config.ExportParamsPath, paramsBz, 0644); err != nil {
|
||||
if err := ioutil.WriteFile(config.ExportParamsPath, paramsBz, 0600); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user