Skip to content

Commit

Permalink
get latest depends and improve lint checking
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartf committed Apr 22, 2019
1 parent ff52698 commit e27c00f
Show file tree
Hide file tree
Showing 7 changed files with 1,342 additions and 542 deletions.
27 changes: 0 additions & 27 deletions .eslintrc.json

This file was deleted.

12 changes: 6 additions & 6 deletions buzzApiError.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var BuzzAPIError = function(message, buzzApiErrorInfo, buzzApiBody) {
this.name = 'BuzzAPIError';
this.message = message || 'BuzzApi error';
this.stack = (new Error()).stack;
this.buzzApiErrorInfo = buzzApiErrorInfo || {};
this.buzzApiBody = buzzApiBody || {};
const BuzzAPIError = function(message, buzzApiErrorInfo, buzzApiBody) {
this.name = "BuzzAPIError";
this.message = message || "BuzzApi error";
this.stack = new Error().stack;
this.buzzApiErrorInfo = buzzApiErrorInfo || {};
this.buzzApiBody = buzzApiBody || {};
};

BuzzAPIError.prototype = Object.create(Error.prototype);
Expand Down
Loading

0 comments on commit e27c00f

Please sign in to comment.