diff options
| author | Shulhan <ms@kilabit.info> | 2018-11-29 23:37:00 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-11-29 23:37:00 +0700 |
| commit | f33dae0d4bb73637ebae4ef55f1f4c25cb249b3e (patch) | |
| tree | 28b733a217564175767ab1013bf4e7169a2db346 /lib/text/diff | |
| parent | ec41bcd967136a2cc778803e8288a067d98a4af1 (diff) | |
| download | pakakeh.go-f33dae0d4bb73637ebae4ef55f1f4c25cb249b3e.tar.xz | |
all: disable lint on functions that have cyclomatix complexity > 15
Diffstat (limited to 'lib/text/diff')
| -rw-r--r-- | lib/text/diff/diffinterface.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/text/diff/diffinterface.go b/lib/text/diff/diffinterface.go index 9940791a..c29a188f 100644 --- a/lib/text/diff/diffinterface.go +++ b/lib/text/diff/diffinterface.go @@ -227,7 +227,7 @@ func findLine(line text.Line, text text.Lines, startat int) ( // // Files compare two files. // -func Files(oldf, newf string, difflevel int) (diffs Data, e error) { +func Files(oldf, newf string, difflevel int) (diffs Data, e error) { // nolint oldlines, e := ReadLines(oldf) if e != nil { return |
