mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 08:15:53 +00:00
fix: 批量修正 external 字面量
This commit is contained in:
@@ -26,7 +26,7 @@ export type Property = {
|
||||
};
|
||||
export type Diagnostic = React.ReactNode;
|
||||
export function buildSandboxProperties(): Property[] {
|
||||
if (("external" as string) !== 'ant') {
|
||||
if ((process.env.USER_TYPE) !== 'ant') {
|
||||
return [];
|
||||
}
|
||||
const isSandboxed = SandboxManager.isSandboxingEnabled();
|
||||
|
||||
Reference in New Issue
Block a user