Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
byp
/
izo
/
con7ext_sym404
/
rintoar.txt
/
opt
/
alt
/
alt-nodejs14
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
install
:
and-add-parent-to-errors.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
'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) } }