indent-string
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -13,2 +13,6 @@ 'use strict'; | ||
if (count === 0) { | ||
return str; | ||
} | ||
indent = count > 1 ? repeating(indent, count) : indent; | ||
@@ -15,0 +19,0 @@ |
{ | ||
"name": "indent-string", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Indent each line in a string", | ||
@@ -10,7 +10,5 @@ "license": "MIT", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "http://sindresorhus.com" | ||
"url": "sindresorhus.com" | ||
}, | ||
"bin": { | ||
"indent-string": "cli.js" | ||
}, | ||
"bin": "cli.js", | ||
"engines": { | ||
@@ -27,2 +25,3 @@ "node": ">=0.10.0" | ||
"keywords": [ | ||
"cli-app", | ||
"cli", | ||
@@ -29,0 +28,0 @@ "bin", |
4464
57