From 6e2790b7384807ab9a31ed92f01fcd6f2b5d5039 Mon Sep 17 00:00:00 2001 From: louistiti Date: Sat, 15 Oct 2022 21:11:29 +0800 Subject: [PATCH] refactor: remove Rust compiler version number from TCP server setup --- scripts/setup/setup-python-dev-env.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/setup/setup-python-dev-env.js b/scripts/setup/setup-python-dev-env.js index db174e4d..29ff1425 100644 --- a/scripts/setup/setup-python-dev-env.js +++ b/scripts/setup/setup-python-dev-env.js @@ -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')