PR Comments
This commit is contained in:
parent
c3a4c9aa1c
commit
e5e34362fe
1 changed files with 7 additions and 7 deletions
|
|
@ -120,14 +120,14 @@ func run(ctx context.Context, ms *xmain.State) (err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
defer func() error {
|
||||||
|
err = png.Cleanup(pw, browser)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}()
|
||||||
}
|
}
|
||||||
defer func() error {
|
|
||||||
err = png.Cleanup(pw, browser)
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}()
|
|
||||||
|
|
||||||
if *watchFlag {
|
if *watchFlag {
|
||||||
if inputPath == "-" {
|
if inputPath == "-" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue