Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed to pass script analyzer tests #20

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

evetsleep
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant