Skip to content

Commit

Permalink
fix(parseAllHeaders)!: mark minimal as required
Browse files Browse the repository at this point in the history
All callers already pass in a non-nil `boolean`, so this is only technically breaking.
  • Loading branch information
serhalp committed Feb 28, 2025
1 parent 3af49f6 commit 41e53b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/headers-parser/src/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export const parseAllHeaders = async function ({
headersFiles = [],
netlifyConfigPath,
configHeaders = [],
minimal = false,
minimal,
}: {
headersFiles?: undefined | string[]
headersFiles: undefined | string[]
netlifyConfigPath?: undefined | string
configHeaders: undefined | MinimalHeader[]
minimal: undefined | boolean
minimal: boolean
}) {
const [
{ headers: fileHeaders, errors: fileParseErrors },
Expand Down

0 comments on commit 41e53b7

Please sign in to comment.