From be667575d5518735d1c315b60d472f585086c8e9 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Mon, 10 Dec 2018 17:02:48 +0100 Subject: [PATCH] fixing Go Report Card issues #2 --- internal/pkg/printer/html.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/printer/html.go b/internal/pkg/printer/html.go index 6d97a268..903d9c8c 100644 --- a/internal/pkg/printer/html.go +++ b/internal/pkg/printer/html.go @@ -33,9 +33,9 @@ type HTML struct { const defaultHeaderFooterHTML string = "" +// nolint: gocyclo // Print converts HTML to PDF. // Credits: https://medium.com/compass-true-north/go-service-to-convert-web-pages-to-pdf-using-headless-chrome-5fd9ffbae1af -// nolint: gocyclo func (html *HTML) Print(destination string) error { // use the DevTools HTTP/JSON API to manage targets (e.g. pages, webworkers). devt := devtool.New("http://127.0.0.1:9222")