Cast buffer to string.

This commit is contained in:
André Cruz
2013-08-14 09:10:08 +01:00
parent 846b8fb57e
commit fb084fa4cd

View File

@@ -54,7 +54,7 @@ function json(file) {
var content;
try {
content = fs.readFileSync(file);
content = fs.readFileSync(file).toString();
} catch (err) {
return null;
}