From 66126230912ab5ab35287b40a9908e036fa73994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=9B=E5=AE=9A=E8=B0=94=E7=9A=84=E7=8C=AB?= Date: Sun, 28 May 2017 04:13:06 +0800 Subject: ls: remove unused argument (#16756) PR-URL: https://github.com/npm/npm/pull/16756 Credit: @Aladdin-ADD Reviewed-By: @zkat --- lib/ls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ls.js') 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 -- cgit v1.2.3