Skip to content

Commit

Permalink
feat/util-sync-with-upstream rfactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
hminaee-tc committed Jul 17, 2024
1 parent 26b543b commit f549689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/utils/fork_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sync_fork_with_upstream_branch() {
# log "DEBUG" "Parsing fork_status_local with jq: ${fork_status_local}"

# local upstream_repo=$(echo "${fork_status_local}" | jq -r '.parent')
local upstream_repo=$(parse_upstream_repo "${upstream_local}")
local upstream_repo=$(parse_upstream_repo "${fork_status_local}")
if ! git remote get-url upstream &>/dev/null; then
git remote add upstream "git@github.com:${upstream_repo}.git"
fi
Expand Down

0 comments on commit f549689

Please sign in to comment.