Skip to content

Commit

Permalink
Accidentally stashed this critical line!
Browse files Browse the repository at this point in the history
  • Loading branch information
fbartho committed May 12, 2023
1 parent 8b22a8e commit aae640e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/get-comment-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ const attachCommentsToRegistryMap = <
const currentOwnerIsLastImport = nodeId(owner) === nodeId(lastImport);

const isSameLineAsCurrentOwner =
commentIsSingleLineType && // Prettier doesn't allow block comments to stay on same line as expressions
owner.loc?.start.line === comment.loc?.start.line;

// endsMoreThanOneLineAboveOwner is used with firstImport to protect top-of-file comments, and pick the right ImportSpecifier when Specifiers are re-sorted
Expand Down

0 comments on commit aae640e

Please sign in to comment.