mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-17 10:17:05 +00:00
fix(config): remove unused forceReload parameter in showStatus
This commit is contained in:
@@ -104,9 +104,8 @@ function showHelp(): void {
|
|||||||
console.log('');
|
console.log('');
|
||||||
}
|
}
|
||||||
|
|
||||||
function showStatus(forceReload = false): void {
|
function showStatus(): void {
|
||||||
// Force reload if config was just modified
|
const config = getImageAnalysisConfig();
|
||||||
const config = forceReload ? getImageAnalysisConfig() : getImageAnalysisConfig();
|
|
||||||
|
|
||||||
console.log('');
|
console.log('');
|
||||||
console.log(header('Image Analysis Configuration'));
|
console.log(header('Image Analysis Configuration'));
|
||||||
@@ -212,6 +211,6 @@ export async function handleConfigImageAnalysisCommand(args: string[]): Promise<
|
|||||||
console.log('');
|
console.log('');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Always show current status (reload if we made changes)
|
// Always show current status
|
||||||
showStatus(hasChanges);
|
showStatus();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user