Исправлены ошибки линтера
This commit is contained in:
parent
d43cc54f56
commit
387a1b28c3
1 changed files with 4 additions and 2 deletions
|
|
@ -35,7 +35,9 @@ export function parse(str: string, params?: Moo.Rules): Moo.Token[] {
|
|||
}
|
||||
return res;
|
||||
} catch (ex) {
|
||||
logger.error(`Error at parse str=${str} with params=${params}, error message - ${ex}`);
|
||||
logger.error(
|
||||
`Error at parse str=${str} with params=${params}, error message - ${ex}`,
|
||||
);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
|
@ -140,7 +142,7 @@ export function parseToCalendarEvent(
|
|||
to = date1.set({
|
||||
hour: time2.hours,
|
||||
minute: time2.minutes,
|
||||
second: time2.seconds
|
||||
second: time2.seconds,
|
||||
});
|
||||
} else {
|
||||
to = from.plus(Luxon.Duration.fromMillis(DEFAULT_EVENT_DURATION));
|
||||
|
|
|
|||
Loading…
Reference in a new issue