mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
fix lint
This commit is contained in:
parent
c750910a73
commit
5289528c3d
@ -154,9 +154,7 @@ export function parseLogLines(logService: LogType, logs: string[]) {
|
|||||||
line.indexOf("Started") !== -1 ||
|
line.indexOf("Started") !== -1 ||
|
||||||
line.indexOf("Uvicorn") !== -1;
|
line.indexOf("Uvicorn") !== -1;
|
||||||
const api = !!httpMethods.exec(line);
|
const api = !!httpMethods.exec(line);
|
||||||
const tag = startup
|
const tag = startup ? "startup" : api ? "API" : "server";
|
||||||
? "startup"
|
|
||||||
: api ? "API" : "server";
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
dateStamp: match.toString().slice(1, -1),
|
dateStamp: match.toString().slice(1, -1),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user