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
diff options
context:
space:
mode:
author薛定谔的猫 <hh_2013@foxmail.com>2017-05-27 23:13:06 +0300
committerKat Marchán <kzm@sykosomatic.org>2017-05-27 23:13:06 +0300
commit66126230912ab5ab35287b40a9908e036fa73994 (patch)
tree19fe121aefc27c9144fe5e193b14ac09540a28a8 /lib
parent923fd58d312f40f8c17b232ad1dfc8e2ff622dbd (diff)
ls: remove unused argument (#16756)
PR-URL: https://github.com/npm/npm/pull/16756 Credit: @Aladdin-ADD Reviewed-By: @zkat
Diffstat (limited to 'lib')
-rw-r--r--lib/ls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ls.js b/lib/ls.js
index b993dd623..3e2f2ce8f 100644
--- a/lib/ls.js
+++ b/lib/ls.js
@@ -429,7 +429,7 @@ function makeArchy_ (data, long, dir, depth, parent, d) {
if (long) {
if (dir === data.path) out.label += '\n' + dir
- out.label += '\n' + getExtras(data, dir)
+ out.label += '\n' + getExtras(data)
} else if (dir === data.path) {
if (out.label) out.label += ' '
out.label += dir