Skip to content

Commit

Permalink
fix Analyzer warning and information
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Tiennot committed Aug 18, 2020
1 parent 4ef5bcf commit 0c3fa43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BuildTasks/SetVersion.Task.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ task SetVersion {
"Checking for published version"
$publishedModule = Find-Module -Name $ModuleName -ErrorAction 'Ignore' |
Sort-Object -Property {[version]$_.Version} -Descending |
Select -First 1
Select-Object -First 1

if($null -ne $publishedModule)
{
Expand Down
4 changes: 2 additions & 2 deletions Module.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ task Publish Build, PublishVersion, Helpify, Test, PublishModule
task TFS Clean, Build, PublishVersion, Helpify, Test
task DevTest ImportDevModule, Pester

Write-Host 'Import common tasks'
Write-Information 'Import common tasks'
Get-ChildItem -Path $buildroot\BuildTasks\*.Task.ps1 |
ForEach-Object {Write-Host $_.FullName;. $_.FullName}
ForEach-Object {Write-Information $_.FullName;. $_.FullName}
2 changes: 1 addition & 1 deletion SnowSQL/SnowSQL.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ foreach($file in $classFiles)
}
}

$importOrder = $classes.GetEnumerator() |
$importOrder = $classes.GetEnumerator() |
Resolve-DependencyOrder -Key {$_.Name} -DependsOn {$_.Value.Base}

foreach( $class in $importOrder )
Expand Down

0 comments on commit 0c3fa43

Please sign in to comment.