Skip to content

Commit f5abf89

Browse files
committed
Fix deploy message
1 parent 1a22826 commit f5abf89

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,15 @@ module.exports = {
2626
},
2727

2828
didDeployMessage: function(context){
29-
var url = [this.readConfig('publicUrl'), this.readConfig('sentryOrganizationSlug'), this.readConfig('sentryProjectSlug'), '/releases/', this.readConfig('revisionKey')];
30-
return "Uploaded sourcemaps to sentry release: " + urljoin(url) + '/';
29+
return "Uploaded sourcemaps to sentry release: "
30+
+ this.readConfig('sentryUrl')
31+
+ '/'
32+
+ this.readConfig('sentryOrganizationSlug')
33+
+ '/'
34+
+ this.readConfig('sentryProjectSlug')
35+
+ '/releases/'
36+
+ this.readConfig('revisionKey')
37+
+ '/';
3138
}
3239
},
3340
requiredConfig: ['publicUrl', 'sentryUrl', 'sentryOrganizationSlug', 'sentryProjectSlug', 'sentryApiKey', 'revisionKey'],

0 commit comments

Comments
 (0)