Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Commit

Permalink
fix pester verbosity config (#58)
Browse files Browse the repository at this point in the history
* fix pester verbosity config

* debug ScriptAnalayzer output
  • Loading branch information
OCram85 authored Jun 28, 2022
1 parent c31ee79 commit 88743e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ steps:
pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies;
Invoke-UnitTest
Invoke-UnitTest -Verbosity 'Detailed'
}"
- name: coverage
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"Remove-Item ./coverage.xml -ErrorAction 'SilentlyContinue';",
"Remove-Item ./testResults.xml -ErrorAction 'SilentlyContinue';",
"Import-Module ./tools/DroneIO.psm1;",
"Invoke-UnitTest -CoverageFormat 'CoverageGutters' -Verbosity 'Debug'"
"Invoke-UnitTest -CoverageFormat 'CoverageGutters' -Verbosity 'Diagnostic'"
],
"group": "test",
"problemMatcher": [
Expand Down
2 changes: 1 addition & 1 deletion tools/DroneIO.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ function Invoke-Linter {
}
}
catch {
Write-Debug -Message $_.Exception.Message -Debug
Write-Error -Message 'PSScriptAnalyzer failer'
Write-Error -Message $_.Exception.Message -ErrorAction 'Stop'
}
}
}
Expand Down

0 comments on commit 88743e9

Please sign in to comment.