Skip to content

Commit

Permalink
Merge pull request #11 from DevExpress-Examples/fix-last-error-code
Browse files Browse the repository at this point in the history
Update test-example.ps1
  • Loading branch information
SavchenkoAlexander authored Dec 13, 2024
2 parents e5e5e0e + 300c01d commit 700f617
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test-example.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ function Process-JavaScriptProjects {

Write-Output "`nInstalling DevExtreme packages"
npm install $packageList --save --save-exact --no-fund

if (-not $?) {
Write-Error "`nERROR: Failed to install DevExtreme packages: $($folder.Name)"
$global:errorCode = 1
}

Write-Output "`nInstalling the rest of the packages $($folder.Name)"
npm install --save --save-exact --no-fund --loglevel=error
if (-not $?) {
Expand Down

0 comments on commit 700f617

Please sign in to comment.