✏️ 正在编辑: load-uid.js
路径:
/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/lib/config/load-uid.js
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
module.exports = loadUid var getUid = require('uid-number') // Call in the context of a npmconf object function loadUid (cb) { // if we're not in unsafe-perm mode, then figure out who // to run stuff as. Do this first, to support `npm update npm -g` if (!this.get('unsafe-perm')) { getUid(this.get('user'), this.get('group'), cb) } else { process.nextTick(cb) } }
💾 保存文件
← 返回文件管理器