Skip to content

Commit

Permalink
fs: re-export constants from fs/promises
Browse files Browse the repository at this point in the history
  • Loading branch information
F3n67u committed May 22, 2022
1 parent 40162db commit 1f553f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/fs/promises.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

module.exports = require('internal/fs/promises').exports;
const dnsPromises = require('internal/fs/promises').exports;
dnsPromises.constants = require('fs').constants;
module.exports = dnsPromises;

0 comments on commit 1f553f3

Please sign in to comment.