1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

server/read: remove unused argument

This commit is contained in:
nkzawa 2016-10-17 11:19:42 +09:00
parent 1be8447a26
commit c697618e11

View file

@ -6,7 +6,7 @@ import resolve from './resolve'
* and read and cache the file content
*/
async function read (path, opts = {}) {
async function read (path) {
const f = await resolve(path)
if (cache.hasOwnProperty(f)) {
return cache[f]