Skip to content

Commit

Permalink
fix: bug with default
Browse files Browse the repository at this point in the history
  • Loading branch information
whilefoo committed Jun 5, 2024
1 parent b4ad844 commit 95b1bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/types/plugin-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const pluginChainSchema = T.Array(
type: T.Union([T.Literal("github")], { default: "github" }),
with: T.Record(T.String(), T.Unknown(), { default: {} }),
}),
{ minItems: 1 }
{ minItems: 1, default: [] }
);

export type PluginChain = StaticDecode<typeof pluginChainSchema>;
Expand Down

0 comments on commit 95b1bcb

Please sign in to comment.