remove last mock-fs dependencies

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-12-28 15:57:04 +01:00
parent 50c55ffd8a
commit 85c521b82b
5 changed files with 0 additions and 41 deletions
@@ -1,13 +0,0 @@
diff --git a/lib/binding.js b/lib/binding.js
index a4a3e6cdc197bd0f12fe2d060640e91ac58ab457..ab04ce3115fe93073a3e25008730272b6fa21bd7 100644
--- a/lib/binding.js
+++ b/lib/binding.js
@@ -165,6 +165,8 @@ function Binding(system) {
this.trackDescriptor(stderr);
}
+Binding.prototype.readFileSync = path => require('fs').readFileSync(path).toString('utf8');
+
/**
* Get the file system underlying this binding.
* @return {FileSystem} The underlying file system.