ember-template-recast
Advanced tools
Comparing version 1.1.2 to 1.1.3
# Change Log | ||
## v1.1.3 (2018-05-19) | ||
#### :bug: Bug Fix | ||
* [#6](https://github.com/ember-template-lint/ember-template-recast/pull/6) Allow for many returning an array of nodes during transform. ([@chadhietala](https://github.com/chadhietala)) | ||
#### Committers: 2 | ||
- Chad Hietala ([chadhietala](https://github.com/chadhietala)) | ||
- Robert Jackson ([rwjblue](https://github.com/rwjblue)) | ||
## v1.1.2 (2018-05-19) | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "ember-template-recast", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Non-destructive template transformer.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -163,7 +163,7 @@ const { | ||
if (isFirstLine) { | ||
if (isFirstLine && firstLineContents) { | ||
updatedLine = firstLineContents.slice(0, start.column) + line; | ||
} | ||
if (isLastLine) { | ||
if (isLastLine && lastLineContents) { | ||
updatedLine += lastLineContents.slice(end.column); | ||
@@ -170,0 +170,0 @@ } |
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
11309