Skip to content

Commit

Permalink
update undici
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Jan 18, 2025
1 parent f69553a commit 490798f
Show file tree
Hide file tree
Showing 5 changed files with 187 additions and 168 deletions.
2 changes: 1 addition & 1 deletion action-src/src/ActionParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type InlineWorkflowCommand = 'error' | 'warning' | 'none';

export type TrueFalse = 'true' | 'false';

export interface ActionParamsInput extends Record<keyof ActionParams, string> {}
export type ActionParamsInput = Record<keyof ActionParams, string>;

export interface ActionParams {
/**
Expand Down
4 changes: 3 additions & 1 deletion action-src/src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export class CSpellReporterForGithubAction {
_issue(issue: Issue) {
const { issues, issueCounts } = this;
const uri = issue.uri;
uri && issueCounts.set(uri, (issueCounts.get(uri) || 0) + 1);
if (uri) {
issueCounts.set(uri, (issueCounts.get(uri) || 0) + 1);
}
issues.push(issue);
}

Expand Down
333 changes: 171 additions & 162 deletions action/lib/main_root.cjs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
"typescript-eslint": "^8.19.1",
"vitest": "^2.1.8"
},
"pnpm": {
"overrides": {
"undici": "^5.28.5"
}
},
"engines": {
"node": ">=20"
}
Expand Down
11 changes: 7 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 490798f

Please sign in to comment.