Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
fix: memfs error when loading node_modules package
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Dec 20, 2021
1 parent edc6b68 commit 079daa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/peeky-runner/src/runtime/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ const specialMethods = [

const fsSyncMethodsRead = [
'accessSync',
'closeSync',
'createReadStream',
'existsSync',
'fstatSync',
Expand All @@ -510,7 +511,6 @@ const fsSyncMethodsWrite = [
'appendFileSync',
'chmodSync',
'chownSync',
'closeSync',
'copyFileSync',
'createWriteStream',
'fchmodSync',
Expand All @@ -535,6 +535,7 @@ const fsSyncMethodsWrite = [

const fsAsyncMethodsRead = [
'access',
'close',
'exists',
'fstat',
'lstat',
Expand All @@ -554,7 +555,6 @@ const fsAsyncMethodsWrite = [
'appendFile',
'chmod',
'chown',
'close',
'copyFile',
'fchmod',
'fchown',
Expand Down

0 comments on commit 079daa2

Please sign in to comment.