PSSQLite icon indicating copy to clipboard operation
PSSQLite copied to clipboard

Fixed to pass script analyzer tests

Open evetsleep opened this issue 7 years ago • 0 comments

In a number of different areas where I use PSSQLite I use script analyzer before things to go production. This was a problem because in a number of areas it would fail tests. I've adjusted almost all of the modules\scripts in the PSSQLite module so it will pass current script analyzer default tests. There were no major changes that would be noticeable in day-to-day use, however internally in Invoke-SqliteBulkCopy I had to rename New-SqliteBulkQuery to Invoke-SqliteBulkQuery in order to avoid having to add SupportsShouldProcess to CmdletBinding.

My previous submission failed AppVeyor tests because of how PS v2 requires SupportsShouldProcess=$true, but v3 and later does not. I fixed that in this version as well.

evetsleep avatar Apr 06 '18 09:04 evetsleep