mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
fix: 修复 main 文件及 "production" 的问题
This commit is contained in:
@@ -28,7 +28,7 @@ export const TestingPermissionTool: Tool<InputSchema, string> = buildTool({
|
||||
return 'TestingPermission'
|
||||
},
|
||||
isEnabled() {
|
||||
return "production" === 'test'
|
||||
return process.env.NODE_ENV === 'test'
|
||||
},
|
||||
isConcurrencySafe() {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user