code-block-writer
Advanced tools
Comparing version 9.1.0 to 9.1.1
@@ -5,2 +5,11 @@ # Changelog | ||
### [9.1.1](https://github.com/dsherret/code-block-writer/compare/v9.1.0...v9.1.1) (2019-05-10) | ||
### Bug Fixes | ||
* Fix queued indentation so it is only dequeued after a newline. ([9f3298d](https://github.com/dsherret/code-block-writer/commit/9f3298d)) | ||
## [9.1.0](https://github.com/dsherret/code-block-writer/compare/v9.0.0...v9.1.0) (2019-05-10) | ||
@@ -7,0 +16,0 @@ |
@@ -394,4 +394,6 @@ "use strict"; | ||
items.forEach((s, i) => { | ||
if (i > 0) | ||
if (i > 0) { | ||
this._baseWriteNewline(); | ||
this.dequeueQueuedIndentation(); | ||
} | ||
if (s.length === 0) | ||
@@ -409,3 +411,2 @@ return; | ||
writer._internalWrite(s); | ||
writer.dequeueQueuedIndentation(); | ||
} | ||
@@ -412,0 +413,0 @@ } |
{ | ||
"name": "code-block-writer", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"description": "A simple code writer that assists with formatting and visualizing blocks of code.", | ||
@@ -5,0 +5,0 @@ "main": "dist/code-block-writer.js", |
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
50064
833