Skip to content

Commit

Permalink
docs: Update an outdated argument name in a function's documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RSeidelsohn committed Apr 10, 2023
1 parent b8077ea commit 9fb5226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const recursivelyCollectAllDependencies = (options) => {
/**
* ! This function has a wanted sideeffect, as it modifies the json object that is passed by reference.
*
* The depth attribute set in the opts parameter here - which is defined by setting the `--direct` flag - is of
* The depth attribute set in the options parameter here - which is defined by setting the `--direct` flag - is of
* no use with npm > 2, as the newer npm versions flatten all dependencies into one single directory. So in
* order to making `--direct` work with newer versions of npm, we need to filter out all non-dependencies from
* the json result.
Expand Down

0 comments on commit 9fb5226

Please sign in to comment.