This commit is contained in:
Link1515 2025-04-13 04:08:31 +02:00 committed by GitHub
commit e9145e0f49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),