-
-
Notifications
You must be signed in to change notification settings - Fork 0
108-copy-module-funtionality-between-modules #109
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
Conversation
| @@ -0,0 +1,33 @@ | |||
|
|
|||
| function Copy-FunctionsToModule { | |||
Check notice
Code scanning / PSScriptAnalyzer
The cmdlet 'Copy-FunctionsToModule' does not have a help comment.
| [Parameter()][switch]$ShowTestErrors | ||
| ) | ||
|
|
||
| function Set-TestName{ |
Check warning
Code scanning / PSScriptAnalyzer
Function 'Set-TestName' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.
| ) | ||
|
|
||
| process{ | ||
| $global:TestName = $TestName |
Check warning
Code scanning / PSScriptAnalyzer
Found global variable 'global:TestName'.
| param ( | ||
| ) | ||
|
|
||
| $global:TestName = $null |
Check warning
Code scanning / PSScriptAnalyzer
Found global variable 'global:TestName'.
| param ( | ||
| ) | ||
|
|
||
| $global:TestName = $null |
Check warning
Code scanning / PSScriptAnalyzer
The variable 'TestName' is assigned but never used.
| # Run test by PSD1 file | ||
| # Invoke-TestingHelper -ShowTestErrors:$ShowTestErrors -TestName TestingHelperTest_Deploy_With_VersionTag* | ||
| Invoke-TestingHelper -ShowTestErrors:$ShowTestErrors | ||
| # Test-ModulelocalPSD1 -ShowTestErrors:$ShowTestErrors |
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
No description provided.