Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit c0476a6

Browse files
committed
refactor: remove redundant fetch info invoke
1 parent 8be9e9f commit c0476a6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

modules/source.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,4 @@ changeSource() {
1616
SOURCE="$SELECTED_SOURCE"
1717
setEnv SOURCE "$SOURCE" update .config
1818
unset AVAILABLE_PATCHES APPS_INFO APPS_LIST AVAILABLE_PATCHES
19-
if [ -e "assets/.data" ] && [ -e "assets/$SOURCE/.data" ]; then
20-
unset CLI_VERSION CLI_URL CLI_SIZE PATCHES_VERSION PATCHES_URL PATCHES_SIZE JSON_URL
21-
source "assets/.data"
22-
source "assets/$SOURCE/.data"
23-
else
24-
fetchAssetsInfo || return 1
25-
fi
2619
}

0 commit comments

Comments
 (0)