Skip to content

Commit

Permalink
apply #10539 on next
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed May 26, 2020
1 parent 34e0b7a commit 09cc062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/client/preview/loadCsf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const loadStories = (
fileExports,
// todo discuss: types infer that this is RequireContext; no checks needed?
// NOTE: turns out `babel-plugin-require-context-hook` doesn't implement this (yet)
typeof req.resolve === 'function' ? req.resolve(filename) : null
typeof req.resolve === 'function' ? req.resolve(filename) : filename
);
});
});
Expand Down

0 comments on commit 09cc062

Please sign in to comment.