mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 14:47:40 +03:00
formatting
This commit is contained in:
parent
3ef011986c
commit
b586d50ca2
@ -28,7 +28,8 @@ function ignoreDynamicNamespaceKeys(): Plugin {
|
|||||||
for (const key of keys.keys()) {
|
for (const key of keys.keys()) {
|
||||||
// Each map key is "ns:actualKey" format
|
// Each map key is "ns:actualKey" format
|
||||||
const separatorIndex = key.indexOf(":");
|
const separatorIndex = key.indexOf(":");
|
||||||
const actualKey = separatorIndex >= 0 ? key.slice(separatorIndex + 1) : key;
|
const actualKey =
|
||||||
|
separatorIndex >= 0 ? key.slice(separatorIndex + 1) : key;
|
||||||
if (falsePositiveKeys.has(actualKey)) {
|
if (falsePositiveKeys.has(actualKey)) {
|
||||||
keys.delete(key);
|
keys.delete(key);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user