1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-30 19:07:39 +03:00

refactor: remove Rust compiler version number from TCP server setup

This commit is contained in:
louistiti 2022-10-15 21:11:29 +08:00
parent 92ea9a081e
commit 6e2790b738
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6

View File

@ -179,12 +179,11 @@ SPACY_MODELS.set('fr', {
LogHelper.success('Configuration reloaded')
LogHelper.info('Checking Rust compiler version...')
const rustCompilerVersionChild = await command(`rustc --version`, {
await command(`rustc --version`, {
shell: true,
stdio: 'inherit'
})
const rustCompilerVersion = String(rustCompilerVersionChild.stdout)
LogHelper.success(`Rust compiler version: ${rustCompilerVersion}`)
LogHelper.success('Rust compiler OK')
}
LogHelper.success('Python packages installed')