📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 15:37:24
📂
/ (Root)
/
lib
/
node_modules
/
npm
/
lib
/
install
📍 /lib/node_modules/npm/lib/install
🔄 Refresh
✏️
Editing: and-add-parent-to-errors.js
Read Only
'use strict' var moduleName = require('../utils/module-name.js') var validate = require('aproba') module.exports = function (parent, cb) { validate('F', [cb]) return function (er) { if (!er) return cb.apply(null, arguments) if (er instanceof Error && parent && parent.package && parent.package.name) { er.parent = moduleName(parent) } cb(er) } }
💾 Save Changes
❌ Cancel