@zxsylph/dbml-formatter 1.0.12 → 1.0.13

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zxsylph/dbml-formatter",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "files": [
6
6
  "bin",
@@ -203,7 +203,7 @@ export function format(input: string, options: FormatterOptions = {}): string {
203
203
  const newLineTokens = [...line];
204
204
  newLineTokens[newLineTokens.length - 1] = {
205
205
  ...last,
206
- value: last.value.replace(/\n+/g, '\n')
206
+ value: '\n'
207
207
  };
208
208
  normalized.push(newLineTokens);
209
209