Skip to content

Commit

Permalink
Merge pull request #190 from jvlflame/dev
Browse files Browse the repository at this point in the history
2.2.11
  • Loading branch information
jvlflame committed Jan 21, 2021
2 parents 0eb54dd + 519ce8a commit fd3d691
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.2.11]

### Fixed

- Fixed typo causing genre csv to not function correctly

## [2.2.10]

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Javinizer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Version number of this module.

ModuleVersion = '2.2.10'
ModuleVersion = '2.2.11'

# Supported PSEditions
# CompatiblePSEditions = @('Core')
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Public/Get-JVAggregatedData.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ function Get-JVAggregatedData {
$newGenres = $aggregatedDataObject.Genre
foreach ($genrePair in $replaceGenres) {
if ($($genrePair.Original -in $newGenres)) {
if ($genrePair.Replacement -ne '' -and $null -ne $genrePair.Repalcement) {
if ($genrePair.Replacement -ne '' -and $null -ne $genrePair.Replacement) {
$newGenres = $newGenres -replace "$($genrePair.Original)", "$($genrePair.Replacement)"
Write-JVLog -Write:$script:JVLogWrite -LogPath $script:JVLogPath -WriteLevel $script:JVLogWriteLevel -Level Debug -Message "[$($Data[0].Id)] [$($MyInvocation.MyCommand.Name)] [Genre - $($genrePair.Original)] replaced as [$($genrePair.Replacement)]"
}
Expand Down

0 comments on commit fd3d691

Please sign in to comment.