mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 05:32:44 +00:00
Config: remove unused extension path helper
This commit is contained in:
committed by
Peter Steinberger
parent
d00ed73026
commit
2f3b919b94
@@ -42,14 +42,6 @@ function collectSensitiveStrings(value: unknown, values: string[]): void {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function isExtensionPath(path: string): boolean {
|
|
||||||
return (
|
|
||||||
path === "plugins" ||
|
|
||||||
path.startsWith("plugins.") ||
|
|
||||||
path === "channels" ||
|
|
||||||
path.startsWith("channels.")
|
|
||||||
);
|
|
||||||
}
|
|
||||||
function isExplicitlyNonSensitivePath(hints: ConfigUiHints | undefined, paths: string[]): boolean {
|
function isExplicitlyNonSensitivePath(hints: ConfigUiHints | undefined, paths: string[]): boolean {
|
||||||
if (!hints) {
|
if (!hints) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user