Permalink
Browse files

ensure only Date or undefined is returned by modTime updater

  • Loading branch information...
1 parent 498aa0d commit ce0217d56e022654de57c2b9ed40d80e5c0bfca9 @jairajs89 committed Nov 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 zerver.js
View
@@ -2,7 +2,7 @@
"author": "Jairaj Sethi <j@jairaj.org> (http://jairaj.org/)",
"name": "zerver",
"description": "client-integrated webapp server",
- "version": "0.6.7",
+ "version": "0.6.8",
"repository": {
"type": "git",
"url": "git://github.com/jairajs89/zerver.git"
View
@@ -164,7 +164,7 @@ function getMaxLastModifiedTime (file) {
}
if ( !stats.isDirectory() ) {
- return stats.mtime;
+ return stats.mtime || undefined;
}
var dirListing;

0 comments on commit ce0217d

Please sign in to comment.