Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aheissenberger committed Apr 25, 2019
1 parent 2c0cee5 commit 64478a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ class Sentry {
if (_.has(sentryConfig, "captureTimeoutWarnings")) {
_.set(functionObject, "environment.SENTRY_CAPTURE_TIMEOUTS", String(sentryConfig.captureTimeoutWarnings));
}
if (_.has(sentryConfig, "release.sourceMaps")) {
_.set(functionObject, "environment.SENTRY_SOURCEMAPS", String(sentryConfig.release.sourceMaps));
if (_.has(sentryConfig, "release.sourcemaps")) {
_.set(functionObject, "environment.SENTRY_SOURCEMAPS", String(sentryConfig.release.sourcemaps));
}

return BbPromise.resolve(functionObject);
Expand Down

0 comments on commit 64478a5

Please sign in to comment.