From b5e505a27ed59a6e745ae1ed5297f60f51a0d20a Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Sun, 21 Jul 2024 19:39:52 +0700 Subject: [PATCH] #30 chore: format --- setup/git.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup/git.sh b/setup/git.sh index 6719624..543ba3e 100644 --- a/setup/git.sh +++ b/setup/git.sh @@ -164,6 +164,12 @@ blog_private_modules_sync() { echo '' } +blog_all_packages_sync() { + for package in "${BLOG_PACKAGES[@]}"; do + blog_package_sync "$package" "$1" + done +} + blog_api_package_sync() { echo '📥 Syncing api package...' blog_package_sync "${BLOG_PACKAGES[0]}" "$1" @@ -173,9 +179,3 @@ blog_core_package_sync() { echo '📥 Syncing core package...' blog_package_sync "${BLOG_PACKAGES[1]}" "$1" } - -blog_all_packages_sync() { - for package in "${BLOG_PACKAGES[@]}"; do - blog_package_sync "$package" "$1" - done -}