@zxsylph/dbml-formatter 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -579,6 +579,7 @@ export function format(input: string, options: FormatterOptions = {}): string {
|
|
|
579
579
|
// End block
|
|
580
580
|
indentLevel--;
|
|
581
581
|
if (!output.endsWith('\n')) output += '\n';
|
|
582
|
+
if (!output.endsWith('\n\n')) output += '\n';
|
|
582
583
|
output += getIndent() + '}';
|
|
583
584
|
|
|
584
585
|
// Rule: after table close } add on empty line
|