Skip to content

Commit

Permalink
Always run analyze for Dart
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Jan 8, 2025
1 parent 5bdf99e commit 4f64689
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions it/exec-cmd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ elseif ($language -eq "python") {
}
}
elseif ($language -eq "dart") {
Invoke-Call -ScriptBlock {
dart pub get
dart analyze lib/
} -ErrorAction Stop

if ($mockServerTest) {
Push-Location $itTestPath

Expand All @@ -219,12 +224,6 @@ elseif ($language -eq "dart") {

Pop-Location
}
else {
Invoke-Call -ScriptBlock {
dart pub get
dart analyze lib/
} -ErrorAction Stop
}
}
Pop-Location

Expand Down

0 comments on commit 4f64689

Please sign in to comment.