Skip to content

Commit

Permalink
Change safeDump to dump (airtasker#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
oben01 authored Mar 19, 2021
1 parent c8ac19c commit 30a2f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const jsonFormat: Format = {
const yamlFormat: Format = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
formatter: (obj: Record<string, any>) =>
YAML.safeDump(obj, { skipInvalid: true /* for undefined */ }),
YAML.dump(obj, { skipInvalid: true /* for undefined */ }),
extension: "yml"
};

Expand Down

0 comments on commit 30a2f0c

Please sign in to comment.