Skip to content

Commit

Permalink
Merge pull request #387 from PlagueHO/Issue-373
Browse files Browse the repository at this point in the history
Fixed localization bug - Fixes #373
  • Loading branch information
PlagueHO authored Jun 15, 2020
2 parents fbdde78 + 3dde993 commit dd35192
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fixed `Cannot bind argument to parameter 'Message' because it is null.` error
message occurring when displaying messages on systems not using `en-US`
UI culture - Fixes [Issue #373](https://github.com/PlagueHO/CosmosDB/issues/373).

## [4.2.0] - 2020-06-01

### Added
Expand Down
2 changes: 1 addition & 1 deletion source/prefix.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if ([System.String]::IsNullOrEmpty($culture))
}
else
{
if (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPath $culture))
if (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPath $culture)))
{
$culture = 'en-US'
}
Expand Down

0 comments on commit dd35192

Please sign in to comment.