Skip to content

Commit

Permalink
Merge pull request #1039 from realies/patch-1
Browse files Browse the repository at this point in the history
make `client` const instead of variable
  • Loading branch information
markstory authored Jun 3, 2019
2 parents 113bfe0 + d263e54 commit f194b6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ waits and will return a promise that resolves when everything was flushed or the
in.

```javascript
let client = Sentry.getCurrentHub().getClient();
const client = Sentry.getCurrentHub().getClient();
if (client) {
client.close(2000).then(function() {
process.exit();
Expand Down

0 comments on commit f194b6c

Please sign in to comment.