Skip to content

Commit

Permalink
Fix missing typo '$' in var names in GR-Common module (#52)
Browse files Browse the repository at this point in the history
* fix typo in varname

* update and add zipped modules
  • Loading branch information
singhgss authored Dec 19, 2023
1 parent 39291de commit be07456
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file modified psmodules/GR-Common.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion setup/IaC/modules/automationaccount.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ resource module13 'modules' = if (newDeployment || updatePSModules) {
properties: {
contentLink: {
uri: '${ModuleBaseURL}/GR-Common.zip'
version: '1.1.12'
version: '1.1.13'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Guardrails-Common/GR-Common.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
RootModule = 'GR-Common'

# Version number of this module.
ModuleVersion = '1.1.12'
ModuleVersion = '1.1.13'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
4 changes: 2 additions & 2 deletions src/Guardrails-Common/GR-Common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,11 @@ function Check-GAAuthenticationMethods {
$blobContent = (Get-AzStorageBlobContent -Container $ContainerName -Blob $docName -Context $StorageAccount.Context -ErrorAction SilentlyContinue).ICloudBlob.DownloadText()

if ($blobContent -eq '' -or $blobContent -eq ' ') {
docFileEmpty = $true
$docFileEmpty = $true
$commentsArray += $msgTable.globalAdminFileEmpty -f $docName
}
elseif ($blobContent -eq 'N/A' -or $blobContent -eq 'n/a') {
docFileNotAvailable = $true
$docFileNotAvailable = $true
$commentsArray += $msgTable.globalAdminNotExist -f $docName
}
else {
Expand Down

0 comments on commit be07456

Please sign in to comment.