mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
Merge pull request #10848 from christianwiedemann/project_root
Core: Fix typo in projectRoot node_modules detection
This commit is contained in:
commit
c0db033137
@ -15,7 +15,7 @@ const projectRoot = () => {
|
||||
//
|
||||
}
|
||||
try {
|
||||
result = result || __dirname.split('node-modules')[0];
|
||||
result = result || __dirname.split('node_modules')[0];
|
||||
} catch (e) {
|
||||
//
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user