diff --git a/README.md b/README.md index 7b1e8fe..e40bf97 100644 --- a/README.md +++ b/README.md @@ -702,7 +702,7 @@ func LintMyFile(file string) { // You can use as many revivelib.Include or revivelib.Exclude as required ) if err != nil { - panic("Shouldn't have failed: " + err.Error) + panic("Shouldn't have failed: " + err.Error()) } // Now let's return the formatted errors