D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
alt-nodejs6
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
install
/
action
/
Filename :
update-linked.js
back
Copy
'use strict' var path = require('path') module.exports = function (top, buildpath, pkg, log, next) { if (pkg.package.version !== pkg.oldPkg.package.version) { log.warn('update-linked', path.relative(top, pkg.path), 'needs updating to', pkg.package.version, 'from', pkg.oldPkg.package.version, "but we can't, as it's a symlink") } next() }