Skip to content

Commit

Permalink
style(packageparser): fix codestyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer committed Oct 2, 2024
1 parent 4c86a87 commit 78ec00c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packageParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type DistMetadata = Record<string, SubPathMetadata>;
type EntryPointType = 'js' | 'ts';
type ExportType = 'import' | 'types';
type SemVerString = `${ number}.${ number }.${ number }`;
// eslint-disable-next-line @typescript-eslint/no-empty-interface

export interface PackageMetadata {
project: string;
name: string;
Expand Down Expand Up @@ -50,7 +50,7 @@ async function loadAndParsePackageJSONFile( dirPath: string ): Promise<PackageJs

try {
parsed = JSON.parse( contents );
} catch ( e ) {
} catch {
throw new SyntaxError( 'The package.json file is not parsable as a correct JSON.' );
}

Expand Down

0 comments on commit 78ec00c

Please sign in to comment.