Skip to content

Commit

Permalink
fix readJSONSync import
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Feb 25, 2025
1 parent 816c9e0 commit 7dac4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import latestVersion from 'latest-version';
import { dirname } from 'path';
import PackageJson from '@npmcli/package-json';
import parseGithubUrl from 'parse-github-repo-url';
import fsExtra, { readJSONSync } from 'fs-extra';
import fsExtra from 'fs-extra';

const { existsSync } = fsExtra;
const { existsSync, readJSONSync } = fsExtra;

type PublishOptions = {
skipRepoSafetyCheck?: boolean;
Expand Down

0 comments on commit 7dac4f5

Please sign in to comment.