Skip to content

Commit 5c827c2

Browse files
committed
Merge branch 'master' of github.com:ioBroker/ioBroker.javascript
2 parents 6eb99aa + af09773 commit 5c827c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/protectFs.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,9 @@ const ProtectFs = function (log, ioBrokerDataDir) {
377377
}
378378
};
379379

380+
// Add missing constants
381+
this.constants = nodeFS.constants;
382+
380383
// Add missing functions
381384
for (const m in nodeFS) {
382385
if (typeof nodeFS[m] === 'function' && Object.hasOwn(nodeFS, m) && !Object.hasOwn(this, m)) {

0 commit comments

Comments
 (0)