mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-05 22:47:50 -04:00
fix(config): unsafe-perm is true if not running as root
This commit is contained in:
@@ -78,6 +78,7 @@ export default async (
|
||||
'prefix': npmDefaults.prefix,
|
||||
'registry': npmDefaults.registry,
|
||||
'shrinkwrap': npmDefaults.shrinkwrap,
|
||||
'unsafe-perm': npmDefaults['unsafe-perm'],
|
||||
})
|
||||
|
||||
process.execPath = originalExecPath
|
||||
|
||||
Reference in New Issue
Block a user