gofumpt lint and misc cleanup (#1682)
* gofumpt lint and misc cleanup * Reorder fileInfo dircounts code to be clearer
This commit is contained in:
1 parent
6cabb0e8e4
commit
a018257d50
10 files changed
+42
-45
No files matched your search
@@ -232,7 +232,7 @@ func (app *app) writeHistory() error {
|
||||
}
|
||||
|
||||
for _, cmd := range app.cmdHistory {
|
||||
_, err = f.WriteString(fmt.Sprintf("%s %s\n", cmd.prefix, cmd.value))
|
||||
_, err = fmt.Fprintf(f, "%s %s\n", cmd.prefix, cmd.value)
|
||||
if err != nil {
|
||||
return fmt.Errorf("writing history file: %s", err)
|
||||
}
|
||||
@@ -585,5 +585,4 @@ func (app *app) runShell(s string, args []string, prefix string) {
|
||||
app.ui.exprChan <- &callExpr{"load", nil, 1}
|
||||
}()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user