From d03b8756e9d4b686bab482c41388e6514442a224 Mon Sep 17 00:00:00 2001 From: Candra Kharista Date: Fri, 18 Jun 2021 15:07:52 +0700 Subject: [PATCH] fix: set default suppressWarning option --- proxy.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/proxy.go b/proxy.go index b6324e1..6d200c2 100644 --- a/proxy.go +++ b/proxy.go @@ -332,9 +332,10 @@ func (p *Proxy) Svg2PdfContext(ctx context.Context, svgIn, pdfOut string) error func NewProxy(opts ...Option) *Proxy { // default value options := Options{ - commandName: defaultCmdName, - maxRetry: 5, - verbose: false, + commandName: defaultCmdName, + maxRetry: 5, + verbose: false, + suppressWarning: true, } // merge options