Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
fix: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Leunen committed Mar 30, 2017
1 parent 5d297a7 commit 91029b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ exports.interfaceVersion = 2;
* @param {object} options - the resolver options
* @return {object}
*/
exports.resolve = (source, file, options = {}) => {
exports.resolve = (source, file, opts) => {
const options = opts || {};
if (resolve.isCore(source)) return { found: true, path: null };

const projectRootDir = path.dirname(pkgUp.sync(file));
Expand Down

0 comments on commit 91029b8

Please sign in to comment.