Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

Commit

Permalink
Set notifier version to version of bugsnag-atom
Browse files Browse the repository at this point in the history
  • Loading branch information
kattrali committed Mar 16, 2016
1 parent 3329db8 commit 17aad25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/reporter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ os = require 'os'
request = require 'request'
stackTrace = require 'stack-trace'
API_KEY = '7ddca14cb60cbd1cd12d1b252473b076'
LIB_VERSION = '0.37.0'

StackTraceCache = new WeakMap

buildNotificationJSON = (error, params) ->
apiKey: API_KEY
notifier:
name: 'Atom'
version: params.appVersion
version: LIB_VERSION
url: 'https://www.atom.io'
events: [{
payloadVersion: "2"
Expand Down
4 changes: 2 additions & 2 deletions spec/reporter-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe "Reporter", ->
"apiKey": Reporter.API_KEY
"notifier": {
"name": "Atom",
"version": atom.getVersion(),
"version": Reporter.LIB_VERSION,
"url": "https://www.atom.io"
},
"events": [
Expand Down Expand Up @@ -167,7 +167,7 @@ describe "Reporter", ->
"apiKey": Reporter.API_KEY
"notifier": {
"name": "Atom",
"version": atom.getVersion(),
"version": Reporter.LIB_VERSION,
"url": "https://www.atom.io"
},
"events": [
Expand Down

0 comments on commit 17aad25

Please sign in to comment.