mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 10:18:14 +00:00
fix(cliproxy): complete backend param propagation per code review
- Add backend param to checkLatestVersion() - Add backend param to isPinned(), getPinned(), clearPin() wrappers - Use getBackendLabel() consistently in showStatus() Addresses review feedback from PR #359.
This commit is contained in:
1 parent
628148c359
commit
388ab69a97
2 files changed
+18
-9
No files matched your search
@@ -488,7 +488,7 @@ async function showStatus(verbose: boolean, backend: CLIProxyBackend): Promise<v
|
||||
const status = getBinaryStatus(backend);
|
||||
|
||||
console.log('');
|
||||
const backendLabel = backend === 'plus' ? 'CLIProxy Plus' : 'CLIProxy (Original)';
|
||||
const backendLabel = getBackendLabel(backend);
|
||||
console.log(color(`${backendLabel} Status`, 'primary'));
|
||||
console.log('');
|
||||
|
||||
|
||||
Reference in new issue
Block a user