Skip to content

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented Nov 15, 2023

No description provided.

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

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

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.

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

Line has trailing whitespace
$ret = -1
return -1
}

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace

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.

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'.

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.

The cmdlet 'Add-IssuesToRepo' does not have a help comment.
@rulasg rulasg merged commit 2676f9d into main Nov 15, 2023
@rulasg rulasg deleted the refactoring-and-ui branch November 15, 2023 18:33
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.

2 participants