Skip to content

Commit

Permalink
Remove unused exception name
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Apr 20, 2024
1 parent d14dc2f commit 9cdf24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interval.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class Interval extends ExtDateTime {
function getDateOrSeasonFrom(value) {
try {
return ExtDate.from(value)
} catch (de) {
} catch {
return Season.from(value)
}
}

0 comments on commit 9cdf24d

Please sign in to comment.