Skip to content

Commit ea79b7c

Browse files
Clean up
1 parent d0207c8 commit ea79b7c

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

data/scopeSupportFacetInfos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,4 +405,4 @@
405405

406406
### word
407407

408-
- `word` A single word in a token
408+
- `word` A single word in a token

packages/meta-updater/src/updatesScopeSupportFacetInfos.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type { FormatPluginFnOptions } from "@pnpm/meta-updater";
99

1010
export function updatesScopeSupportFacetInfos(
1111
actual: string | null,
12-
options: FormatPluginFnOptions,
12+
_options: FormatPluginFnOptions,
1313
): string | null {
1414
if (actual == null) {
1515
return null;
@@ -28,7 +28,7 @@ export function updatesScopeSupportFacetInfos(
2828
const facetInfo =
2929
facetsInfos[facet as ScopeSupportFacet | TextualScopeSupportFacet];
3030
const scopeType = serializeScopeType(facetInfo.scopeType);
31-
if (scopeType !== currentScopeType) {
31+
if (scopeType != currentScopeType) {
3232
if (currentScopeType !== null) {
3333
rows.push("");
3434
}
@@ -39,5 +39,7 @@ export function updatesScopeSupportFacetInfos(
3939
rows.push(`- \`${facet}\` ${facetInfo.description}`);
4040
}
4141

42+
rows.push("");
43+
4244
return rows.join("\n");
4345
}

0 commit comments

Comments
 (0)