Skip to content

Instantly share code, notes, and snippets.

@postwait
Created January 6, 2012 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save postwait/1573003 to your computer and use it in GitHub Desktop.
Save postwait/1573003 to your computer and use it in GitHub Desktop.
diff --git a/lib/stack.js b/lib/stack.js
index fc84572..9f6738a 100644
--- a/lib/stack.js
+++ b/lib/stack.js
@@ -346,7 +346,7 @@ Stack.prototype.getSummary = function(callback) {
var self = this, getter;
if (this.module.get_latestRevision) {
- getter = this.module.get_latestRevision.bind(null, {environment: this.config.env});
+ getter = this.module.get_latestRevision.bind(this, {environment: this.config.env});
} else {
getter = git.getLatestRevision.bind(git, this.getRepoUrl(), this.stackConfig.tip);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment