Skip to content

Commit f96e548

Browse files
author
Aaron Chambers
committed
Merge pull request #13 from lukemelia/activate-bug-fix
Fixed a bug in activate hook logging
2 parents 2f243a9 + 7715970 commit f96e548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ module.exports = {
6868
},
6969

7070
activate: function(/* context */) {
71-
var redisDeployClient = this.readConfig('redisDeployClient');
71+
var redisDeployClient = this.readConfig('redisDeployClient');
7272
var revisionKey = this.readConfig('revisionKey');
7373
var keyPrefix = this.readConfig('keyPrefix');
7474

7575
this.log('Activating revision `' + revisionKey + '`');
7676
return Promise.resolve(redisDeployClient.activate(keyPrefix, revisionKey))
77-
.then(this.log.bind(this, '✔ Activated revision `' + revisionKey + '`'))
77+
.then(this.log.bind(this, '✔ Activated revision `' + revisionKey + '`', {}))
7878
.then(function(){
7979
return {
8080
activatedRevisionKey: revisionKey

0 commit comments

Comments
 (0)