From 6fb22bcf938e515b24024004ffef79ba0c304e34 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Wed, 5 Feb 2020 18:22:51 +0500 Subject: [PATCH] Add lerna validation --- images/win/scripts/Installers/Validate-NodeLts.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/images/win/scripts/Installers/Validate-NodeLts.ps1 b/images/win/scripts/Installers/Validate-NodeLts.ps1 index f2c86faf..7d42a040 100644 --- a/images/win/scripts/Installers/Validate-NodeLts.ps1 +++ b/images/win/scripts/Installers/Validate-NodeLts.ps1 @@ -26,6 +26,16 @@ else exit 1 } +if(Get-Command -Name 'lerna') +{ + Write-Host "lerna $(lerna --version) on path" +} +else +{ + Write-Host "lerna is not on path" + exit 1 +} + if( $(node --version) -match 'v(?.*)' )