Comparing version 0.5.15 to 0.5.16
@@ -91,6 +91,6 @@ var _ = require("underscore"); | ||
if (err) { | ||
return callback(err, basename.join("."), null, modified_date); | ||
return callback(err, basename.shift(), null, modified_date); | ||
} | ||
return callback(null, basename.join("."), parsed_output, modified_date); | ||
return callback(null, basename.shift(), parsed_output, modified_date); | ||
}); | ||
@@ -112,2 +112,3 @@ }); | ||
} | ||
// filter the hidden files | ||
@@ -114,0 +115,0 @@ var content_files = []; |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "0.5.15", | ||
"version": "0.5.16", | ||
"homepage": "https://github.com/laktek/punch", | ||
@@ -18,0 +18,0 @@ "author": "Lakshan Perera <lakshan@web2media.net> (http://laktek.com)", |
@@ -203,3 +203,3 @@ var default_handler = require("../lib/content_handler.js"); | ||
spyOn(fs, "readdir").andCallFake(function(path, callback){ | ||
return callback(null, ["test1.markdown", "test2.markdown"]); | ||
return callback(null, ["test1.markdown", "test2.coffee.markdown"]); | ||
}); | ||
@@ -206,0 +206,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1009886