Skip to content

Commit

Permalink
feat/util-sync-with-upstream new line ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
hminaee-tc committed Jul 18, 2024
1 parent 9a8acc3 commit e787c8c
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 @@ -13,7 +13,7 @@ get_upstream() {
log "INFO" "contents of .github/UPSTREAM not in valid format - can contain only 1 non-comment line with git url"
exit 1
else
upstream_local=$(cat .github/UPSTREAM | grep -v '^#')
upstream_local=$(cat .github/UPSTREAM | grep -vE '(^#|^$)')
fi
log "INFO" "upstream_local is: $upstream_local"
echo "$upstream_local"
Expand Down

0 comments on commit e787c8c

Please sign in to comment.