Skip to content

Commit

Permalink
fix: Just use externalId from argument. (#7)
Browse files Browse the repository at this point in the history
Management of the environmental variable is NYC's responsibility.
  • Loading branch information
coreyfarrell committed May 5, 2019
1 parent 42a9971 commit d25b1ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ const defaults = {
ppid: process.ppid,
root: null,
coverageFilename: null,
externalId: process.env.NYC_PROCESSINFO_EXTERNAL_ID || '',
externalId: ''
}

delete process.env.NYC_PROCESSINFO_EXTERNAL_ID

class ProcessInfo {
constructor (fields) {
fields = fields || {}
Expand Down

0 comments on commit d25b1ed

Please sign in to comment.