Skip to content

Commit

Permalink
Squashed 'scripts/lib/' changes from 24a7b822..e4fe7a83
Browse files Browse the repository at this point in the history
e4fe7a83 chore: change the way for finding origin-url

git-subtree-dir: scripts/lib
git-subtree-split: e4fe7a834256ba36f89979ee309908df8b35d44f
  • Loading branch information
1995parham committed Aug 13, 2023
1 parent c106d5c commit 78b8c65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion require.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ function clone() {
else
cd "$path/$dir" || return

origin_url=$(git remote get-url origin 2>/dev/null)
# origin_url=$(git remote get-url origin 2>/dev/null)
origin_url=$(git config --get remote.origin.url)

if [[ "$repo" == "${origin_url%.git}" ]]; then
action git "$repo_name ${F_GRAY}${F_RESET}"
Expand Down

0 comments on commit 78b8c65

Please sign in to comment.