Skip to content

Commit

Permalink
fix: flat flag was always truthy
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Apr 21, 2023
1 parent 14888c0 commit 994704e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/generate.action.ts
Expand Up @@ -51,7 +51,7 @@ const generateFiles = async (inputs: Input[]) => {
: configuration.sourceRoot;

const specValue = spec!.value as boolean;
const flatValue = !!flat as boolean;
const flatValue = !!flat?.value;
const specOptions = spec!.options as any;
let generateSpec = shouldGenerateSpec(
configuration,
Expand Down

0 comments on commit 994704e

Please sign in to comment.