Permalink
Browse files

Update express-dot.js

  • Loading branch information...
1 parent e39aeb6 commit 31817c931656c2cdb3baa219713b7fc33ebfedd0 @daraser daraser committed Dec 13, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 express-dot.js
View
@@ -15,8 +15,7 @@ var _globals = {
// no content so let's load from file system
if(template == null){
- console.log( fs.readFileSync(path.join(path.dirname(process.argv[1]), file)));
- template == fs.readFileSync(path.join(path.dirname(process.argv[1]), file));
+ template = fs.readFileSync(path.join(path.dirname(process.argv[1]), file));
}
// let's cache the partial

0 comments on commit 31817c9

Please sign in to comment.