✏️ 正在编辑: find-dupes.js
路径:
/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/lib/commands/find-dupes.js
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
// dedupe duplicated packages, or find them in the tree const ArboristWorkspaceCmd = require('../arborist-cmd.js') class FindDupes extends ArboristWorkspaceCmd { static description = 'Find duplication in the package tree' static name = 'find-dupes' static params = [ 'global-style', 'legacy-bundling', 'strict-peer-deps', 'package-lock', 'omit', 'ignore-scripts', 'audit', 'bin-links', 'fund', ...super.params, ] async exec (args, cb) { this.npm.config.set('dry-run', true) return this.npm.exec('dedupe', []) } } module.exports = FindDupes
💾 保存文件
← 返回文件管理器