mirror of
https://github.com/denoland/deno.git
synced 2025-10-03 15:44:36 +00:00
fix(ext/node): fs.rename
and fs.renameSync
compatibility (#30245)
This commit is contained in:
parent
eef8835e36
commit
af55e069ef
4 changed files with 120 additions and 17 deletions
|
@ -2666,6 +2666,7 @@ export class ERR_INVALID_STATE extends NodeError {
|
|||
interface UvExceptionContext {
|
||||
syscall: string;
|
||||
path?: string;
|
||||
dest?: string;
|
||||
}
|
||||
export function denoErrorToNodeError(e: Error, ctx: UvExceptionContext) {
|
||||
const errno = extractOsErrorNumberFromErrorMessage(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue