mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 02:01:11 +00:00
chore: auto format code
This commit is contained in:
@@ -38,7 +38,7 @@ clean_dev_npm() {
|
|||||||
note_activity
|
note_activity
|
||||||
# Get the actual store path to check if default is orphaned
|
# Get the actual store path to check if default is orphaned
|
||||||
local pnpm_store_path
|
local pnpm_store_path
|
||||||
pnpm_store_path=$(run_with_timeout 5 pnpm store path 2>/dev/null) || pnpm_store_path=""
|
pnpm_store_path=$(run_with_timeout 5 pnpm store path 2> /dev/null) || pnpm_store_path=""
|
||||||
# If store path is different from default, clean the orphaned default
|
# If store path is different from default, clean the orphaned default
|
||||||
if [[ -n "$pnpm_store_path" && "$pnpm_store_path" != "$pnpm_default_store" ]]; then
|
if [[ -n "$pnpm_store_path" && "$pnpm_store_path" != "$pnpm_default_store" ]]; then
|
||||||
safe_clean "$pnpm_default_store"/* "pnpm store (orphaned)"
|
safe_clean "$pnpm_default_store"/* "pnpm store (orphaned)"
|
||||||
|
|||||||
Reference in New Issue
Block a user