Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Fix gh issue resource transform for drafts
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Aug 23, 2023
1 parent 776a97b commit 1f1d97a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/gh-project-dump/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ func main() {
continue
}

resource := strings.ReplaceAll(item.Resource()[13:], "/issues/", "#")
resource := item.Resource()
if strings.HasPrefix(resource, "/githedgehog/") {
resource = strings.ReplaceAll(item.Resource()[13:], "/issues/", "#")
}
records = append(records, []string{
name,
updated,
Expand Down

0 comments on commit 1f1d97a

Please sign in to comment.