Permalink
Browse files

[minor] Whitespace

  • Loading branch information...
1 parent f55beda commit db8ad6f0e92c975f0f1a44cad94e02b65e0c4659 @indexzero committed May 15, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/errs.js
View
@@ -124,12 +124,16 @@ exports.create = function createErr(type, opts) {
exports.merge = function (err, type, opts) {
var merged = exports.create(type, opts);
+ //
// optional stuff that might be created by module
+ //
Object.keys(err).forEach(function (key) {
+ //
// in node v0.4 v8 errors where treated differently
// we need to make sure we aren't merging these properties
// http://code.google.com/p/v8/issues/detail?id=1215
- if(['stack', 'type', 'arguments', 'message'].indexOf(key)===-1) {
+ //
+ if (['stack', 'type', 'arguments', 'message'].indexOf(key)===-1) {
merged[key] = err[key];
}
});

0 comments on commit db8ad6f

Please sign in to comment.