Skip to content

Commit

Permalink
Merge pull request #28980 from storybookjs/shilman/fix-cli-dedent-import
Browse files Browse the repository at this point in the history
CLI: Fix dedent import in package managers
  • Loading branch information
shilman authored Aug 27, 2024
2 parents 740ed80 + 5147e88 commit 2b0cd99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/core/src/common/js-package-manager/NPMProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FindPackageVersionsError } from '@storybook/core/server-errors';

import { findUp } from 'find-up';
import sort from 'semver/functions/sort.js';
import dedent from 'ts-dedent';
import { dedent } from 'ts-dedent';

import { createLogStream } from '../utils/cli';
import { JsPackageManager } from './JsPackageManager';
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/common/js-package-manager/PNPMProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FindPackageVersionsError } from '@storybook/core/server-errors';

import { findUpSync } from 'find-up';
import { pathExistsSync } from 'fs-extra';
import dedent from 'ts-dedent';
import { dedent } from 'ts-dedent';

import { createLogStream } from '../utils/cli';
import { JsPackageManager } from './JsPackageManager';
Expand Down
2 changes: 1 addition & 1 deletion code/core/src/common/js-package-manager/Yarn1Proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { join } from 'node:path';
import { FindPackageVersionsError } from '@storybook/core/server-errors';

import { findUp } from 'find-up';
import dedent from 'ts-dedent';
import { dedent } from 'ts-dedent';

import { createLogStream } from '../utils/cli';
import { JsPackageManager } from './JsPackageManager';
Expand Down

0 comments on commit 2b0cd99

Please sign in to comment.