fix(config): unsafe-perm is true if not running as root

This commit is contained in:
Zoltan Kochan
2018-06-30 23:23:17 +03:00
parent 1ddb7b6fe0
commit 52fbfb737f

View File

@@ -78,6 +78,7 @@ export default async (
'prefix': npmDefaults.prefix,
'registry': npmDefaults.registry,
'shrinkwrap': npmDefaults.shrinkwrap,
'unsafe-perm': npmDefaults['unsafe-perm'],
})
process.execPath = originalExecPath