From 9a8b26ad4cdfca7dbf9aa56055f8f41a6231ad5a Mon Sep 17 00:00:00 2001 From: Amber Date: Sun, 8 Mar 2020 23:47:25 +0300 Subject: [PATCH] fix: * absolute path issue for golangci-lint * args issue --- linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter.py b/linter.py index 0922c94..ea71702 100644 --- a/linter.py +++ b/linter.py @@ -2,7 +2,7 @@ class GolangCILint(Linter): - cmd = 'golangci-lint run --fast --out-format tab ${file_path}' + cmd = 'golangci-lint run --fast --out-format tab ${args} ${file_on_disk}' tempfile_suffix = '-' # Column reporting is optional and not provided by all linters. # Issues reported by the 'typecheck' linter are treated as errors,