Skip to content

Commit

Permalink
$Null should be on the left side. (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
superfliege authored and AnatoliB committed Jun 4, 2019
1 parent 7944264 commit f957cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Update-AutomationAzureModulesForAccount.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function Import-AutomationModule([string] $ModuleName) {

# Parses the dependency got from PowerShell Gallery and returns name and version
function GetModuleNameAndVersionFromPowershellGalleryDependencyFormat([string] $Dependency) {
if ($Dependency -eq $null) {
if ($null -eq $Dependency) {
throw "Improper dependency format"
}

Expand Down

0 comments on commit f957cd1

Please sign in to comment.