Skip to content

Commit

Permalink
chore: rm unused arguments (jantimon#12)
Browse files Browse the repository at this point in the history
Co-authored-by: 唯刃 <[email protected]>
  • Loading branch information
aladdin-add and aladdin-add authored Mar 31, 2020
1 parent 468dbc1 commit fd8e71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/profiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function getUsedNodeModules() {
.filter(
directory => path.basename(path.dirname(directory)) === "node_modules"
)
.filter(directory => moduleNameFilter(path.basename(directory), directory));
.filter(directory => moduleNameFilter(path.basename(directory)));

const versions = matchingModulePaths.map(directory => {
const name = path.basename(directory);
Expand Down

0 comments on commit fd8e71d

Please sign in to comment.