refactor: trim config helper exports · openclaw/openclaw@0ba5586
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -6,7 +6,7 @@ import {
|
6 | 6 | } from "openclaw/plugin-sdk/extension-shared"; |
7 | 7 | import { z } from "openclaw/plugin-sdk/zod"; |
8 | 8 | |
9 | | -export type OpenShellPluginConfig = { |
| 9 | +type OpenShellPluginConfig = { |
10 | 10 | mode?: "mirror" | "remote"; |
11 | 11 | command?: string; |
12 | 12 | gateway?: string; |
@@ -101,7 +101,7 @@ function isManagedOpenShellRemotePath(value: string): boolean {
|
101 | 101 | ); |
102 | 102 | } |
103 | 103 | |
104 | | -export function normalizeOpenShellRemotePath( |
| 104 | +function normalizeOpenShellRemotePath( |
105 | 105 | value: string | undefined, |
106 | 106 | fallback: string, |
107 | 107 | fieldName = "remote path", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。