grunt-indent
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "grunt-indent", | ||
"description": "Change the indentation of files.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/stevenbenner/grunt-indent", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -84,3 +84,4 @@ # grunt-indent [![Build Status](https://travis-ci.org/stevenbenner/grunt-indent.png)](https://travis-ci.org/stevenbenner/grunt-indent) | ||
## Release History | ||
* 2013-03-21 v0.1.2 Fixed bug with empty lines when file uses Windows style line endings. | ||
* 2013-03-17 v0.1.1 Added support for single-file destinations. | ||
* 2013-03-16 v0.1.0 Initial release. |
@@ -51,3 +51,3 @@ /* | ||
// walk the file line-by-line | ||
grunt.util._.lines(grunt.file.read(src)).forEach(function(line) { | ||
grunt.file.read(src).split(/\r\n?|\n/).forEach(function(line) { | ||
if (line) { | ||
@@ -54,0 +54,0 @@ if (options.change > 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
12454
87