PR Comments

This commit is contained in:
Bernard Xie 2022-11-16 18:44:43 -08:00
parent c3a4c9aa1c
commit e5e34362fe
No known key found for this signature in database
GPG key ID: 3C3E0036CE0F892C

View file

@ -120,7 +120,6 @@ func run(ctx context.Context, ms *xmain.State) (err error) {
if err != nil { if err != nil {
return err return err
} }
}
defer func() error { defer func() error {
err = png.Cleanup(pw, browser) err = png.Cleanup(pw, browser)
if err != nil { if err != nil {
@ -128,6 +127,7 @@ func run(ctx context.Context, ms *xmain.State) (err error) {
} }
return nil return nil
}() }()
}
if *watchFlag { if *watchFlag {
if inputPath == "-" { if inputPath == "-" {