Fix string interpolation in devchat version logging
- Corrected the syntax for string interpolation in the log message that displays the devchat version and the expected version.
This commit is contained in:
parent
6681ed65cf
commit
a1b124166d
@ -34,7 +34,7 @@ export function checkDevChatDependency(pythonCommand: string, showError: boolean
|
||||
const expectVersion = 'DevChat 0.2.0';
|
||||
const devchatVersion = runCommand(`"${devChat}" --version`).toString().trim();
|
||||
if (devchatVersion < expectVersion) {
|
||||
logger.channel()?.info("devchat version: ${devchatVersion}, but expect version: ${expectVersion}");
|
||||
logger.channel()?.info(`devchat version: ${devchatVersion}, but expect version: ${expectVersion}`);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user