Skip to content

Commit

Permalink
fix: fix typo in sentry.client (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed May 7, 2019
1 parent 8a492fc commit 77a8f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sentry.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ export default function (ctx, inject) {
}
return `new ${name}({${Object.keys(integration).map(option => typeof integration[option] === 'function' ?
`${option}:${serializeFunction(integration[option])}` : `${option}:${serialize(integration[option])}`).join(',')}})`
}).join(',\n') %>
}).join(',\n ') %>
]
})

<%= if (options.initialize) %>) { %>// Initialize sentry
<% if (options.initialize) { %>// Initialize sentry
Sentry.init(opts)<% } %>

// Inject Sentry to the context as $sentry
Expand Down

0 comments on commit 77a8f23

Please sign in to comment.