import mzFs from 'mz/fs';

export async function readJson(fileName) {
  JSON.parse(await mzFs.readFile(fileName));
}

import mzFs from 'mz/fs';

export async function readJson(fileName) {
  return JSON.parse(await mzFs.readFile(fileName));
}

Make readJson return the read file
fix: Make readJson return the read file
