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:
parent
1be8447a26
commit
c697618e11
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue