Skip to content

Commit

Permalink
Use optional catch bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanZim committed Jan 30, 2020
1 parent 6e806d1 commit 5b86684
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/watch.js
Expand Up @@ -71,7 +71,7 @@ testCb('--watch works', t => {
function done(err) {
try {
cp.kill()
} catch (e) {}
} catch {}

t.end(err)
}
Expand Down Expand Up @@ -152,7 +152,7 @@ testCb('--watch postcss.config.js', t => {
function done(err) {
try {
cp.kill()
} catch (e) {}
} catch {}

t.end(err)
}
Expand Down Expand Up @@ -223,7 +223,7 @@ testCb('--watch dependencies', t => {
function done(err) {
try {
cp.kill()
} catch (e) {}
} catch {}
t.end(err)
}
})
Expand Down Expand Up @@ -274,7 +274,7 @@ testCb("--watch doesn't exit on CssSyntaxError", t => {
function done(err) {
try {
cp.kill()
} catch (e) {}
} catch {}

t.end(err)
}
Expand Down

0 comments on commit 5b86684

Please sign in to comment.