mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add createReadStream to fake FS
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
e10be8a4f0
commit
69cfe9a25e
2 files changed
+3
No files matched your search
@@ -60,6 +60,7 @@ export const getOverrideFsWithFakes = () => {
|
||||
copy: async (src, dest) => { throw new Error(`Tried to copy '${src}' to '${dest}'. Copying is not yet supported`); },
|
||||
ensureDir: async (path, opts) => ensureDirSync(path, opts),
|
||||
ensureDirSync,
|
||||
createReadStream: root.createReadStream as any,
|
||||
}));
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user