Skip to content

Commit

Permalink
Fixes missing jade basedir
Browse files Browse the repository at this point in the history
  • Loading branch information
caillou committed Nov 25, 2014
1 parent d13872f commit 865b771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/template/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ var scope = module.exports = function(projectPath, partentLocals){
* note - layouts get the same scope as the partial
*
*/
var tmpl = processors[ext](fileContents, { filename: filePath })
var tmpl = processors[ext](fileContents, { filename: filePath, basedir: projectPath })

try{
var render = tmpl.compile()
Expand Down

0 comments on commit 865b771

Please sign in to comment.