-
Notifications
You must be signed in to change notification settings - Fork 1
bug Add-itemstoProjectFromRepo #19
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
| Add-ItemsToProjectFromARepo -ProjectNumber $number -Owner $e.Owner -RepoNameWithOwner $e.RepoBackWithOwner | ||
| Add-ItemsToProjectFromARepo -ProjectNumber $number -Owner $e.Owner -Repo $e.RepoFront | ||
| Add-ItemsToProjectFromARepo -ProjectNumber $number -Owner $e.Owner -Repo $e.RepoBack | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
|
|
||
| "[Add-TimeTrackerToProject] gh project item-edit --id $item.Id --field-id $fieldId --project-id $projectId --number $minutes" | Write-MyVerbose | ||
|
|
||
| $result = gh project item-edit --id $item.Id --field-id $fieldId --project-id $projectId --number $minutes |
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
| if(-Not $project){ | ||
| "[Get-ProjectNumber] No project found with name [$Name] in [$Owner]" | Write-Verbose | ||
| $ret = -1 | ||
| return -1 |
Check notice
Code scanning / PSScriptAnalyzer
The cmdlet 'Get-ProjectNumber' returns an object of type 'System.Int32' but this type is not declared in the OutputType attribute.
| "[Get-ProjectNumber] No project found with name [$Name] in [$Owner]" | Write-Verbose | ||
| $ret = -1 | ||
| return -1 | ||
| } |
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
| $ret = -1 | ||
| return -1 | ||
| } | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace
| @@ -1,28 +1,32 @@ | |||
| function New-Repo{ | |||
| function New-RepoDemo{ | |||
Check notice
Code scanning / PSScriptAnalyzer
The cmdlet 'New-RepoDemo' does not have a help comment.
| @@ -1,28 +1,32 @@ | |||
| function New-Repo{ | |||
| function New-RepoDemo{ | |||
Check warning
Code scanning / PSScriptAnalyzer
Function 'New-RepoDemo' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.
| $result | ||
| } | ||
| function Add-IssueToRepo{ | ||
| function Add-IssuesToRepo{ |
Check notice
Code scanning / PSScriptAnalyzer
The cmdlet 'Add-IssuesToRepo' does not have a help comment.
No description provided.