@ -10,7 +10,7 @@ import { readFile } from 'fs-promise';
export default async function hashes (files) {
const entries = await Promise.all(files.map(async (name) => {
const data = await readFile(name);
const data = await readFile(name, 'utf8');
return [hash(data), { name, data }];
}));
return new Map(entries);