Skip to content

Commit

Permalink
remove a couple more unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sandersn committed Feb 24, 2021
1 parent 652bf9b commit 20b6d52
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ls.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const usage = usageUtil(

const cmd = (args, cb) => ls(args).then(() => cb()).catch(cb)

const initTree = async ({ arb, args, json }) => {
const initTree = async ({ arb, args }) => {
const tree = await arb.loadActual()
tree[_include] = args.length === 0
tree[_depth] = 0
Expand Down Expand Up @@ -252,7 +252,6 @@ const augmentNodesWithMetadata = ({
args,
currentDepth,
nodeResult,
parseable,
seenNodes,
}) => (node) => {
// if the original edge was a deduped dep, treeverse will fail to
Expand Down Expand Up @@ -389,7 +388,6 @@ const ls = async (args) => {
const tree = await initTree({
arb,
args,
json,
})

const seenItems = new Set()
Expand Down

0 comments on commit 20b6d52

Please sign in to comment.