mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Cast buffer to string.
This commit is contained in:
@@ -54,7 +54,7 @@ function json(file) {
|
||||
var content;
|
||||
|
||||
try {
|
||||
content = fs.readFileSync(file);
|
||||
content = fs.readFileSync(file).toString();
|
||||
} catch (err) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user