fix(Xo#removeSchedule): correctly test instance of SchedulerError
This commit is contained in:
parent
89d13b2285
commit
55cb6b39db
@ -182,7 +182,7 @@ export default class {
|
||||
try {
|
||||
this._disable(id)
|
||||
} catch (exc) {
|
||||
if (!exc instanceof SchedulerError) {
|
||||
if (!(exc instanceof SchedulerError)) {
|
||||
throw exc
|
||||
}
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user