Skip to content

Commit

Permalink
fix: set default suppressWarning option
Browse files Browse the repository at this point in the history
  • Loading branch information
euiko committed Jun 18, 2021
1 parent 293c007 commit d03b875
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d03b875

Please sign in to comment.