aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor')
-rw-r--r--modules/doctor/paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/doctor/paths.go b/modules/doctor/paths.go
index d7bf2539e7..1558efc25b 100644
--- a/modules/doctor/paths.go
+++ b/modules/doctor/paths.go
@@ -106,7 +106,7 @@ func isWritableDir(path string) error {
return err
}
if err := os.Remove(tmpFile.Name()); err != nil {
- fmt.Printf("Warning: can't remove temporary file: '%s'\n", tmpFile.Name())
+ fmt.Printf("Warning: can't remove temporary file: '%s'\n", tmpFile.Name()) //nolint:forbidigo
}
tmpFile.Close()
return nil