Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbring master up to 1.18.1 #1264
Conversation
…ng PowerShell for CommandInfo. There are only 4 rules that could call the CommandInfoCache, therefore sizing the pool to 5. The pool creation is synchronous and adds 15ms of initialization overhead, which we can neglect I think.
…nsive command lookup in AvoidAlias, which is the most expensive rule. To accomodate the higher parallel demand, increase runspace pool.
Multiple runs would result in incorrect layout of the compatibility profiles
* Change module root find function * Fix whitespace * Add a comment
…ces indentation level incorrectly (#1191) * Fix issue whereby single-line pipeline reduces indentation level incorrectly (problem only showed up when there was already existing indentation due to ClipNegative * Apply suggestions from code review Co-Authored-By: bergmeister <c.bergmeister@gmail.com> * Fix tests by replacing break with continue (forgot I was inside for loop and not switch statement), simple mistake
Because we are using a direct invocation of ConvertTo-SecureString it triggers a warning by MS tools that secrets are not allowed to be checked in to our repository. This suppresses this warning.
Add suppression of warning for MS policy
Co-Authored-By: bergmeister <c.bergmeister@gmail.com>
* Fix NullReferenceException for class type * Add regression test * Address PR comments: add comment where the special case can happen and simplify test case to one-liner
…append .exe for applications on Windows (#1210) * UseCorrectCasing: Fix special case of ? for command lookup and do not correct application names to end in .exe on Windows * Use more generic WildcardPattern.Escape method * Remove application extension more generically and on Windows only * Make applications with an extension preserver the extension and re-use isWindows variable better * Apply suggestions from code review Co-Authored-By: bergmeister <c.bergmeister@gmail.com>
This is a proposal for fixing what I perceive to a typo. I recommend an expert should look at this first.a
Fix UseCompatibleSyntax class error message
Co-Authored-By: Christoph Bergmeister [MVP] <c.bergmeister@gmail.com>
Fix logic errors in AvoidAlias rule
… time. There is more cleanup needed in this class in general but this is the minimum viable change
…dSpeedupAvoidAlias Speedup cold runs of PSSA by using a runspace pool and parallelizing the slowest rule (AvoidAlias)
Bump version to 1.18.1
Add ImplementingType to RuleInfo object
Update PossibleIncorrectComparisonWithNull documentation with better example
update signing file for versioned location of module
-SaveDscDependency on Linux
Prevent PSCloseBrace crash if hashtable definition start on first token and there is a PSCloseBrace violation
…pplication paths any more for simplicity
Make it possible to build ScriptAnalyzer with PowerShell7
UseCorrectCasing: Do not correct applications or script paths at all
* CHANGELOG for 1.18.1 * update changelog * Update CHANGELOG.MD
|
LGTM. Please use the |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

JamesWTruher commentedJun 18, 2019
PR Summary
With the release of 1.18.1, we need to bring the master branch up to date
PR Checklist
.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.