mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
fix: review fix — ripgrep note 文案修正 + init catch 加调试日志
- ripgrep "no ripgrep available" note 去掉无意义的 USE_BUILTIN_RIPGREP=0 建议 - init.ts ripgrep status check 的空 catch 加 logForDebugging Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win>
This commit is contained in:
@@ -247,6 +247,7 @@ export const init = memoize(async (): Promise<void> => {
|
||||
}
|
||||
} catch {
|
||||
// Ripgrep status is best-effort; never block init.
|
||||
logForDebugging('[init] ripgrep status check skipped')
|
||||
}
|
||||
|
||||
logForDiagnosticsNoPII('info', 'init_completed', {
|
||||
|
||||
@@ -112,7 +112,7 @@ export function resolveBuiltinWithFallback(
|
||||
mode: 'builtin',
|
||||
command: builtinPath,
|
||||
args: [],
|
||||
note: `no ripgrep available on ${p}; install via apt/pkg/brew or set USE_BUILTIN_RIPGREP=0`,
|
||||
note: `no ripgrep available on ${p}; install ripgrep via apt/pkg/brew`,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user