Skip to content

Commit

Permalink
Remove formattingcheck test
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 1, 2020
1 parent 48bd9e1 commit 46fa2ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Javinizer.build.ps1
Expand Up @@ -34,7 +34,7 @@ $ModuleName = (Split-Path -Path $BuildFile -Leaf).Split('.')[0]
#Default Build
$str = @()
$str = 'Clean', 'ValidateRequirements'
$str += 'FormattingCheck'
#$str += 'FormattingCheck'
$str += 'Analyze', 'Test', 'InfraTest'

$str += 'Build', 'Archive'
Expand Down Expand Up @@ -173,7 +173,7 @@ Add-BuildTask FormattingCheck {

if ($scriptAnalyzerResults) {
$scriptAnalyzerResults | Format-Table
Write-Warning ' PSScriptAnalyzer code formatting check did not adhere to {0} standards' -f $scriptAnalyzerParams.Setting
throw ' PSScriptAnalyzer code formatting check did not adhere to {0} standards' -f $scriptAnalyzerParams.Setting
} else {
Write-Build Green ' ...Formatting Analyze Complete!'
}
Expand Down

0 comments on commit 46fa2ec

Please sign in to comment.