💥 fix(install, update): change dir before installing/updating deps
This commit is contained in:
+2
-2
@@ -84,12 +84,12 @@ if [[ "$answer" == y ]] || [[ "$skip_prompts" ]]; then
|
||||
cp -rf $repo_directory/config/$dir "$dest" # copy
|
||||
done
|
||||
|
||||
prev_wd=`pwd`
|
||||
cd "$repo_directory"
|
||||
Send_log "Updating dependencies"
|
||||
pnpm i && pnpm update
|
||||
|
||||
Send_log "Building colorshell"
|
||||
prev_wd=`pwd`
|
||||
cd "$repo_directory"
|
||||
pnpm build:release
|
||||
cd "$prev_wd"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user