Files
PowerShell/src/Modules
bergmeister ffd39b2853 PSScriptAnalyzer fixes by category (#4261)
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'ForEach-Object' (alias is '%' or 'foreach')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Where-Object' (alias is '?' or 'where')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Select-Object' (alias is 'select')
- Fix PSScriptAnalyzer warnings of type PSPossibleIncorrectComparisonWithNull. Essentially, $null has to be on the left-hand side when using it for comparison.
- A Test in ParameterBinding.Tests.ps1 needed adapting as this test used to rely on the wrong null comparison
- Replace a subset of tests of kind '($object -eq $null) | Should Be $true' with '$object | Should Be $null'
2017-07-21 21:03:49 -07:00
..
2016-07-28 12:36:34 -07:00
2016-07-28 12:38:24 -07:00

Modules

There are 3 directories with content files. Content files includes:

  • ps1xml
  • psm1
  • psd1
  • ps1

These files are copied as-is by dotnet

  • Shared (shared between all variations)
  • Windows+Unix-Core
  • Windows-Core
  • Windows-Core+Full
  • Windows-Full
  • Unix

Notes

We have files with the same names in different folders. That means that the contents of these two files are different. I.e. if it's .psd1 file, it could be because CmdletsToExport are different for different runtimes (platforms) or frameworks.