Skip to content

Commit

Permalink
0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
belibug committed Jul 12, 2024
1 parent a4bef4b commit 866a45a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [0.0.5] - 2024-07-08

### Fixed

- Answer file now generates valid options field for BLOCK type

## [0.0.4] - 2024-07-08

## Added
Expand Down
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ProjectName": "Mold",
"Description": "Mold is a fast and powerful templating and cloning engine for PowerShell (and beyond!)",
"Version": "0.0.4",
"Version": "0.0.5",
"Manifest": {
"Author": "Manjunath Beli",
"PowerShellHostVersion": "7.4",
Expand Down
2 changes: 1 addition & 1 deletion src/public/New-MoldAnswerFile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function New-MoldAnswerFile {
$Output = 'Any string value'
}
}
if ($data.Type -eq 'CHOICE') {
if ($data.Type -eq 'CHOICE' -or $data.Type -eq 'BLOCK') {
$Output = $data.CHOICE.PSObject.Properties.Name -join ','
}
return $Output
Expand Down

0 comments on commit 866a45a

Please sign in to comment.