Skip to content

Commit 4fee58a

Browse files
committed
Fix $repo set get user from gh
1 parent 9cc99b8 commit 4fee58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-todo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ EOF
2020

2121
version="0.1.0"
2222
date=$(date -u +"%Y-%m-%d")
23-
repo="$(git config user.name)/todo"
23+
repo="$(gh config get -h github.com user)/todo"
2424

2525
get_issue_id() {
2626
echo $(gh issue list --search "$date" --json "number" --jq ".[0].number" --repo $repo)

0 commit comments

Comments
 (0)