prettier-plugin-svelte
Advanced tools
Comparing version 2.1.3 to 2.1.4
# prettier-plugin-svelte changelog | ||
## 2.1.4 | ||
* Don't print an empty line at the end of code embedded inside Markdown (further fixes) ([#202](https://github.com/sveltejs/prettier-plugin-svelte/issues/202)) | ||
## 2.1.3 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "prettier-plugin-svelte", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Svelte plugin for prettier", | ||
@@ -5,0 +5,0 @@ "main": "plugin.js", |
@@ -317,4 +317,9 @@ 'use strict'; | ||
function getParts(doc) { | ||
if (typeof doc === 'object' && (doc.type === 'fill' || doc.type === 'concat')) { | ||
return doc.parts; | ||
if (typeof doc === 'object') { | ||
if (doc.type === 'fill' || doc.type === 'concat') { | ||
return doc.parts; | ||
} | ||
if (doc.type === 'group') { | ||
return getParts(doc.contents); | ||
} | ||
} | ||
@@ -321,0 +326,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
206853
1688