mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 15:04:42 +00:00
chore: auto format code
This commit is contained in:
@@ -181,7 +181,7 @@ resolve_source_dir() {
|
|||||||
if command -v git > /dev/null 2>&1; then
|
if command -v git > /dev/null 2>&1; then
|
||||||
local git_args=("--depth=1")
|
local git_args=("--depth=1")
|
||||||
if [[ "$branch" != "main" ]]; then
|
if [[ "$branch" != "main" ]]; then
|
||||||
git_args+=("--branch" "$branch")
|
git_args+=("--branch" "$branch")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if git clone "${git_args[@]}" https://github.com/tw93/mole.git "$tmp/mole" > /dev/null 2>&1; then
|
if git clone "${git_args[@]}" https://github.com/tw93/mole.git "$tmp/mole" > /dev/null 2>&1; then
|
||||||
|
|||||||
Reference in New Issue
Block a user