Skip to content

Commit

Permalink
remove obsolet check
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-michelet committed Jan 17, 2024
1 parent cc24574 commit eae16eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function runASTAnalysis(
return {
...source.getResult(isMinified),
dependencies: source.dependencies,
isOneLineRequire: body.length <= 1 && (source.dependencies.size <= 1 || isOneLineExpressionExport(body))
isOneLineRequire: source.dependencies.size <= 1 || isOneLineExpressionExport(body)
};
}

Expand Down

0 comments on commit eae16eb

Please sign in to comment.