Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mising '.' in index.js, line 344 #53

Closed
develmts opened this issue Sep 15, 2016 · 2 comments
Closed

Mising '.' in index.js, line 344 #53

develmts opened this issue Sep 15, 2016 · 2 comments

Comments

@develmts
Copy link

It makes unable to render templates on some circumstances
As far as i can see this:
var tplPath = path.join(viewPath, tpl + this.extname);
should be changed to this
var tplPath = path.join(viewPath, tpl + '.' +this.extname);

No idea of colateral implications, but it's disallowing me to use koa-hbs

@shellscape
Copy link
Contributor

under what circumstances are you unable to render? please provide some code examples. koa-hbs has been around a while, and this is the first instance of the issue I've seen.

@develmts
Copy link
Author

Sorry. Misunderstood the whole thing. Absolutely my mistake. Forget it and sorry for wasting your tie. Clsoing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants