Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/ls.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ls.js')
-rw-r--r--lib/ls.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ls.js b/lib/ls.js
index 359fe21e6..b94684401 100644
--- a/lib/ls.js
+++ b/lib/ls.js
@@ -9,7 +9,6 @@ const npa = require('npm-package-arg')
const usageUtil = require('./utils/usage.js')
const completion = require('./utils/completion/installed-deep.js')
-const output = require('./utils/output.js')
const _depth = Symbol('depth')
const _dedupe = Symbol('dedupe')
@@ -147,7 +146,7 @@ class LS {
const [rootError] = tree.errors.filter(e =>
e.code === 'EJSONPARSE' && e.path === resolve(path, 'package.json'))
- output(
+ this.npm.output(
json
? jsonOutput({ path, problems, result, rootError, seenItems })
: parseable