Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Remove mustache dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardolundgren committed May 28, 2013
1 parent 7021e6c commit 97d43d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/cmds/pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ var async = require('async'),
fs = require('fs'),
git = require('../git'),
path = require('path'),
mustache = require('mustache'),
logger = require('../logger'),
stripNewLines;

Expand Down Expand Up @@ -352,7 +351,7 @@ PullRequest.prototype.getPullRequest_ = function(opt_callback) {

PullRequest.prototype.getBranchNameFromPullNumber_ = function(number) {
if (number) {
return mustache.render(
return logger.compileTemplate(
base.getGlobalConfig().branchname, { number: number });
}
};
Expand Down

0 comments on commit 97d43d0

Please sign in to comment.