Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
corrideat committed Feb 23, 2024
1 parent f75cfe4 commit 56ad1c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/esmExports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const preprocess = (text: string): string =>
return `[${JSON.stringify(
p2.trim(),
)}]=${p1}`;
})
})
: `[${JSON.stringify(e.trim())}]=${e}`),
)
.join(';');
Expand Down
4 changes: 2 additions & 2 deletions src/esmImports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const preprocess = (text: string): string =>
: '',
namedImports?.replace(/as\s/g, ':'),
starName ? `...${starName}` : '',
]
]
.filter(Boolean)
.join(',')}}=`
: ''
Expand All @@ -51,7 +51,7 @@ const preprocess = (text: string): string =>
return `[${JSON.stringify(
p2.trim(),
)}]=${p1}`;
})
})
: `[${JSON.stringify(e.trim())}]=${e}`),
)
.join(';');
Expand Down

0 comments on commit 56ad1c7

Please sign in to comment.