diff options
Diffstat (limited to 'std/node/_fs/_fs_copy.ts')
-rw-r--r-- | std/node/_fs/_fs_copy.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/std/node/_fs/_fs_copy.ts b/std/node/_fs/_fs_copy.ts index 320c2fb3e..0193e77c4 100644 --- a/std/node/_fs/_fs_copy.ts +++ b/std/node/_fs/_fs_copy.ts @@ -13,9 +13,5 @@ export function copyFile( } export function copyFileSync(source: string, destination: string): void { - try { - Deno.copyFileSync(source, destination); - } catch (err) { - throw err; - } + Deno.copyFileSync(source, destination); } |