From 0f958cf71372970cac7ad89e1d6ea25068bfc002 Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Mon, 13 Apr 2026 09:59:41 -0500 Subject: [PATCH] fix(installer): add missing sync and async methods to fs-native wrapper Closes #2256 --- tools/installer/fs-native.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/installer/fs-native.js b/tools/installer/fs-native.js index b6a4abfa5..1d84af98a 100644 --- a/tools/installer/fs-native.js +++ b/tools/installer/fs-native.js @@ -82,7 +82,9 @@ module.exports = { stat: fsp.stat, readdir: fsp.readdir, access: fsp.access, + realpath: fsp.realpath, rename: fsp.rename, + rmdir: fsp.rmdir, unlink: fsp.unlink, chmod: fsp.chmod, mkdir: fsp.mkdir, @@ -103,6 +105,9 @@ module.exports = { existsSync: fs.existsSync.bind(fs), readFileSync: fs.readFileSync.bind(fs), writeFileSync: fs.writeFileSync.bind(fs), + statSync: fs.statSync.bind(fs), + accessSync: fs.accessSync.bind(fs), + readdirSync: fs.readdirSync.bind(fs), createReadStream: fs.createReadStream.bind(fs), pathExistsSync: fs.existsSync.bind(fs),