Skip to content

Commit

Permalink
fix: fixed typo &&& to &&
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Feb 14, 2024
1 parent 2eeceb8 commit 7707b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ export default class ICalEvent {
return this;
}
if (
(!location?.title &&& !location?.geo) ||
(!location?.title && !location?.geo) ||
(location?.geo && (!isFinite(location.geo.lat) || !isFinite(location.geo.lon)))
) {
throw new Error(
Expand Down

0 comments on commit 7707b59

Please sign in to comment.