Skip to content

Commit

Permalink
SqlServerDsc: Add .gitattributes file, update analyzersettings.psd1 a…
Browse files Browse the repository at this point in the history
…nd fix hashtables (#1447)

- Changes to SqlServerDsc
  - Add .gitattributes file to checkout file correctly with CRLF.
  - Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
    and custom rules in VS Code.
  - Fix hashtables to align with style guideline (issue #1437).
- Changes to SqlServerMaxDop
  - Fix line endings in code which did not use the correct format.
  • Loading branch information
johlju authored Nov 27, 2019
1 parent 0785472 commit 4b34546
Show file tree
Hide file tree
Showing 10 changed files with 614 additions and 444 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Needed for publishing of examples, build worker defaults to core.autocrlf=input.
* text eol=crlf
2 changes: 2 additions & 0 deletions .vscode/analyzersettings.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@
#>
'Measure-*'
)

IncludeDefaultRules = $true
}
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

## Unreleased

- Changes to SqlServerDsc
- Add .gitattributes file to checkout file correctly with CRLF.
- Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code.
- Fix hashtables to align with style guideline ([issue #1437](https://github.com/PowerShell/SqlServerDsc/issues/1437)).
- Changes to SqlServerMaxDop
- Fix line endings in code which did not use the correct format.

## 13.2.0.0

- Changes to SqlServerDsc
- Fix keywords to lower-case to align with guideline.
- Fix keywords to have space before a parenthesis to align with guideline.
- Fix typo in SqlSetup strings ([issue #1419](https://github.com/PowerShell/SqlServerDsc/issues/1419))
- Fix typo in SqlSetup strings ([issue #1419](https://github.com/PowerShell/SqlServerDsc/issues/1419)).

## 13.1.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ function Test-TargetResource
Make sure default values are part of desired values if the user did
not specify them in the configuration.
#>
$desiredValues = @{ } + $PSBoundParameters
$desiredValues = @{} + $PSBoundParameters
$desiredValues['Ensure'] = $Ensure
$desiredValues['UserType'] = $UserType

Expand Down
Loading

0 comments on commit 4b34546

Please sign in to comment.