mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
fix warning
This commit is contained in:
parent
1c38840490
commit
66e3cdfb71
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ command_exists() {
|
|||
fix_npm_permissions() {
|
||||
echo "Fixing npm global directory permissions..."
|
||||
# 1. Change ownership of the entire .npm-global directory to current user
|
||||
sudo chown -R $(whoami):staff ~/.npm-global 2>/dev/null || true
|
||||
sudo chown -R "$(whoami)":staff ~/.npm-global 2>/dev/null || true
|
||||
|
||||
# 2. Fix directory permissions (ensure user has full read/write/execute permissions)
|
||||
chmod -R u+rwX ~/.npm-global 2>/dev/null || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue