From be3b1b067a7679283badd0e23a0bcbcae5d7f10d Mon Sep 17 00:00:00 2001 From: Hames Date: Fri, 8 Sep 2023 12:30:06 -0700 Subject: [PATCH] Fix docs; no promise here --- src/path.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/path.ts b/src/path.ts index 3c8d003..9b61259 100644 --- a/src/path.ts +++ b/src/path.ts @@ -849,8 +849,7 @@ export class PathRef { } /** - * Moves the file or directory returning a promise that resolves to - * the renamed path synchronously. + * Moves the file or directory returning the renamed path synchronously. */ renameSync(newPath: string | URL | PathRef): PathRef { const pathRef = ensurePathRef(newPath);