Skip to content

Commit

Permalink
Fix not passing an options-object
Browse files Browse the repository at this point in the history
Fixes #26
  • Loading branch information
sindresorhus committed Feb 22, 2022
1 parent 7c76ecf commit 73e7711
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 @@ -31,7 +31,7 @@ function getMainProcessPaths(topModuleObject, cwd) {
return paths;
}

module.exports = (moduleObject, options) => {
module.exports = (moduleObject, options = {}) => {
// This module should be a dev dependency, but guard
// this in case the user included it as a dependency.
if (!isDev) {
Expand Down

0 comments on commit 73e7711

Please sign in to comment.