Skip to content

Commit fad050a

Browse files
committed
refactor: remove unnecessary linter comment
Remove the obsolete "nolint:gosec" comment from the exec.Command call, as this code has either been reviewed for security concerns or the potential issues have been addressed through other means.
1 parent e55be0d commit fad050a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

handler.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ func (h *langHandler) lint(uri DocumentURI) ([]Diagnostic, error) {
5656
args := make([]string, 0, len(h.command))
5757
args = append(args, h.command[1:]...)
5858
args = append(args, dir)
59-
//nolint:gosec
6059
cmd := exec.Command(h.command[0], args...)
6160
if strings.HasPrefix(path, h.rootDir) {
6261
cmd.Dir = h.rootDir

0 commit comments

Comments
 (0)