diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-02-06 12:32:58 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 12:32:58 +0530 |
commit | 428266c06a192f008a5429e871f783dfb4601f93 (patch) | |
tree | 72735cd2971f4f6a83d2fc6aa282826d88db3ac2 /ext/node | |
parent | 28576db10ed1b06e2c68a645cff8027e93dd76dd (diff) |
fix(node): add `cp` to fs/promises (#22263)
Diffstat (limited to 'ext/node')
-rw-r--r-- | ext/node/polyfills/fs/promises.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/polyfills/fs/promises.ts b/ext/node/polyfills/fs/promises.ts index ffdb862d8..3e5329dbb 100644 --- a/ext/node/polyfills/fs/promises.ts +++ b/ext/node/polyfills/fs/promises.ts @@ -30,5 +30,6 @@ export const writeFile = fsPromises.writeFile; export const appendFile = fsPromises.appendFile; export const readFile = fsPromises.readFile; export const watch = fsPromises.watch; +export const cp = fsPromises.cp; export default fsPromises; |