exception-formatter
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -122,4 +122,7 @@ // Generated by CoffeeScript 1.8.0 | ||
if (options.maxLines && lines.length > options.maxLines) { | ||
lines = lines.slice(0, +options.maxLines + 1 || 9e9); | ||
lines.push(lineFn("[truncated]", DIVIDER)); | ||
lines = lines.slice(0, options.maxLines + 1); | ||
lines.push({ | ||
line: " [truncated]", | ||
type: DIVIDER | ||
}); | ||
} | ||
@@ -126,0 +129,0 @@ lines = lines.map(lineFn); |
{ | ||
"name": "exception-formatter", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"author": "Jason Walton <dev@lucid.thedreaming.org> (https://github.com/jwalton)", | ||
@@ -29,4 +29,6 @@ "keywords": [ | ||
"scripts": { | ||
"prepublish": "coffee -c -o lib src", | ||
"test": "mocha && istanbul report text-summary lcov" | ||
"build": "coffee -c -o lib src", | ||
"test": "mocha && istanbul report text-summary lcov", | ||
"prepare": "npm run build", | ||
"prepublishOnly": "npm run test" | ||
}, | ||
@@ -33,0 +35,0 @@ "engines": { |
@@ -0,1 +1,4 @@ | ||
[![Build Status](https://travis-ci.org/benbria/exception-formatter.svg?branch=master)](https://travis-ci.org/benbria/exception-formatter) | ||
[![Coverage Status](https://coveralls.io/repos/benbria/exception-formatter/badge.svg?branch=master&service=github)](https://coveralls.io/github/benbria/exception-formatter?branch=master) | ||
What is it? | ||
@@ -60,2 +63,2 @@ =========== | ||
`exception-formatter` will mark code as "your code" if it is in `options.basepath`, and if it does | ||
not contain `node_modules` anywhere in it's path. | ||
not contain `node_modules` anywhere in it's path. |
12436
215
64
6