mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 06:41:50 +08:00
I don't know why I did it before...
This commit is contained in:
parent
a3a69c84b8
commit
1749f1a12a
@ -57,7 +57,7 @@ function interopRequireDefault(filePath) {
|
||||
}
|
||||
|
||||
function getCandidate(paths) {
|
||||
for (let i = 0; i < paths.length - 1; i += 1) {
|
||||
for (let i = 0; i < paths.length; i += 1) {
|
||||
const candidate = getInterpretedFileWithExt(paths[i]);
|
||||
|
||||
if (candidate) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user