Skip to content

Commit

Permalink
Merge branch 'develop' into ErrorDetails_ErrorHandlerFix-276
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau authored Jun 2, 2018
2 parents dfbe131 + 23ab6c6 commit ad2f42a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Tests/JiraPS.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,13 @@ Describe "JiraPS" {
if ($PSVersionTable.PSVersion.Major -gt 3) {
Import-Module $manifestFile -Force -ErrorAction Stop

$analysis = Invoke-ScriptAnalyzer -Path "$moduleRoot" -Recurse -Settings "$projectRoot/PSScriptAnalyzerSettings.psd1"
$invokeScriptAnalyzerSplat = @{
Path = "$moduleRoot"
Settings = "$projectRoot/PSScriptAnalyzerSettings.psd1"
Recurse = $true
ErrorAction = 'SilentlyContinue'
}
$analysis = Invoke-ScriptAnalyzer @invokeScriptAnalyzerSplat
$scriptAnalyzerRules = Get-ScriptAnalyzerRule

forEach ($rule in $scriptAnalyzerRules) {
Expand Down
7 changes: 6 additions & 1 deletion Tools/build.requirements.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@
Version = "4.1.1"
}
platyPS = "latest"
PSScriptAnalyzer = "latest"
PSScriptAnalyzer = @{
Parameters = @{
SkipPublisherCheck = $true
}
Version = "latest"
}
}

0 comments on commit ad2f42a

Please sign in to comment.