Skip to content

Commit

Permalink
fs.mkdir definition missing (#456)
Browse files Browse the repository at this point in the history
Summary:
**Summary**
When using `fs.mkdir` with memory-fs it doesn't work because its not mapped.

**Test plan**
Can test by attempting a call to `fs.mkdir(file_path)`
Pull Request resolved: #456

Differential Revision: D18201803

Pulled By: cpojer

fbshipit-source-id: 7b56e4c47229ea63c9b4e45fb7d3210060228464
  • Loading branch information
ttsui authored and facebook-github-bot committed Oct 29, 2019
1 parent 5756d42 commit a5b6bf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/metro-memory-fs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const ASYNC_FUNC_NAMES = [
'fsync',
'fdatasync',
'lstat',
'mkdir',
'open',
'read',
'readdir',
Expand Down

0 comments on commit a5b6bf8

Please sign in to comment.