mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-19 06:45:50 +00:00
fix: 修复 main 文件及 "production" 的问题
This commit is contained in:
@@ -33,8 +33,8 @@ export function PackageManagerAutoUpdater({ verbose }: Props): React.ReactNode {
|
||||
|
||||
const checkForUpdates = React.useCallback(async () => {
|
||||
if (
|
||||
"production" === 'test' ||
|
||||
"production" === 'development'
|
||||
process.env.NODE_ENV === 'test' ||
|
||||
process.env.NODE_ENV === 'development'
|
||||
) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user