mirror of
https://github.com/skooner-k8s/skooner.git
synced 2026-08-24 04:16:18 +00:00
@@ -1,4 +1,4 @@
|
||||
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, no-mixed-operators, strict*/
|
||||
/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
|
||||
"use strict";
|
||||
|
||||
var $protobuf = require("protobufjs/minimal");
|
||||
|
||||
@@ -54,7 +54,7 @@ export function isProtoEnabled(): boolean {
|
||||
}
|
||||
|
||||
export function isProtoEligible(url: string) {
|
||||
for (let value of Object.values(kindMap)) {
|
||||
for (let [key, value] of Object.entries(kindMap)) {
|
||||
if (url.includes(value.path)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user