Merge 0bdb04b038 into 07eea0f484
This commit is contained in:
commit
e9145e0f49
@ -13,7 +13,7 @@ function formatYaml({
|
|||||||
sortKeys?: MaybeRef<boolean>
|
sortKeys?: MaybeRef<boolean>
|
||||||
indentSize?: MaybeRef<number>
|
indentSize?: MaybeRef<number>
|
||||||
}) {
|
}) {
|
||||||
const parsedYaml = yaml.parse(get(rawYaml));
|
const parsedYaml = yaml.parse(get(rawYaml), { intAsBigInt: true });
|
||||||
|
|
||||||
const formattedYAML = yaml.stringify(parsedYaml, {
|
const formattedYAML = yaml.stringify(parsedYaml, {
|
||||||
sortMapEntries: get(sortKeys),
|
sortMapEntries: get(sortKeys),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user