Permalink
Browse files

Make sure haml is a string so it doesn't bork

  • Loading branch information...
1 parent 92d1206 commit 63cca77cfb28e2865012d8540cfcd6d9943d922b @creationix committed Sep 27, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/wheat/tools.js
  2. +1 −1 package.json
View
@@ -54,7 +54,7 @@ var loadTemplate = Git.safe(function loadTemplate(version, name, callback) {
},
function compileTemplate(err, haml) {
if (err) { callback(err); return; }
- return Haml(haml, (/\.xml$/).test(name));
+ return Haml(haml + "", (/\.xml$/).test(name));
},
callback
);
View
@@ -2,7 +2,7 @@
"name": "wheat",
"description": "Git powered javascript blog.",
"tags": ["git","node","howtonode","blog"],
- "version": "0.2.1",
+ "version": "0.2.2",
"author": "Tim Caswell <tim@creationix.com>",
"repository": {
"type": "git",

0 comments on commit 63cca77

Please sign in to comment.