mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
Linting cleanup
This commit is contained in:
parent
9b8dab666c
commit
f87645fb84
@ -22,7 +22,6 @@ import {
|
||||
interpolate,
|
||||
nodeModulesPaths,
|
||||
Options,
|
||||
NormalizedStoriesSpecifier,
|
||||
toImportFn,
|
||||
normalizeStories,
|
||||
loadPreviewOrConfigFile,
|
||||
|
@ -19,7 +19,6 @@ import {
|
||||
interpolate,
|
||||
Options,
|
||||
hasDotenv,
|
||||
NormalizedStoriesSpecifier,
|
||||
toImportFn,
|
||||
normalizeStories,
|
||||
readTemplate,
|
||||
|
@ -89,7 +89,7 @@ export const normalizeStoriesEntry = (
|
||||
|
||||
// At this stage `directory` is relative to `main.js` (the config dir)
|
||||
// We want to work relative to the working dir, so we transform it here.
|
||||
const { directory: directoryRelativeToConfig, files: filesForOS } = specifierWithoutMatcher;
|
||||
const { directory: directoryRelativeToConfig } = specifierWithoutMatcher;
|
||||
const absoluteDirectory = path.resolve(configDir, directoryRelativeToConfig);
|
||||
let directory = slash(path.relative(workingDir, absoluteDirectory));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user