Permalink
Browse files

v6.5.7. Bugfix.

- v6.5.7 August 26, 2012
	- Fixed "cannot get length of undefined" intermittent error
		- Due to an incorrect variable name inside
`DocPad::ensureDocumentOrFile`
  • Loading branch information...
1 parent 5d86c3a commit d4bcfb48017337689e3e08dc74310f32f58095a6 @balupton balupton committed Aug 26, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 History.md
  2. +1 −1 package.json
  3. +1 −1 src/lib/docpad.coffee
View
@@ -1,5 +1,9 @@
## History
+- v6.5.7 August 26, 2012
+ - Fixed "cannot get length of undefined" intermittent error
+ - Due to an incorret variable name inside `DocPad::ensureDocumentOrFile`
+
- v6.5.6 August 19, 2012
- Added `regenerateEvery` configuration option
View
@@ -1,6 +1,6 @@
{
"name": "docpad",
- "version": "6.5.6",
+ "version": "6.5.7",
"description": "DocPad is a language agnostic document management system. This means you write your website as documents, in whatever language you wish, and DocPad will handle the compiling, templates and layouts for you. For static documents it will generate static files, for dynamic documents it'll re-render them on each request. You can utilise DocPad by itself, or use it as a module your own custom system. It's pretty cool, and well worth checking out. We love it.",
"homepage": "https://github.com/bevry/docpad",
"keywords": [
View
@@ -1349,7 +1349,7 @@ class DocPad extends EventEmitterEnhanced
# Check if we have a file
unless result
- for dirPath in docpad.config.filePaths
+ for dirPath in docpad.config.filesPaths
if fileFullPath.indexOf(dirPath) is 0
data.relativePath or= fileFullPath.replace(dirPath,'').replace(/^[\/\\]/,'')
result = @createFile(data,options)

0 comments on commit d4bcfb4

Please sign in to comment.