Browse Source

blog: Do not pass undefined to path.join

v0.9.11-release
isaacs 12 years ago
parent
commit
687522c5a5
  1. 1
      tools/blog/generate.js

1
tools/blog/generate.js

@ -113,6 +113,7 @@ function buildPermalink(key, post) {
function writeFile(uri, data, templ) {
if (!templ) templ = template;
if (data.uri)
data.uri = path.join(data.uri);
uri = path.join(uri);
var contents = templ(data);

Loading…
Cancel
Save