Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/fs/testdata/empty_dir_sync.ts

Deno standard library
Go to Latest
File
import { emptyDirSync } from "../empty_dir.ts";
try { emptyDirSync(Deno.args[0]) Deno.stdout.write(new TextEncoder().encode("success"))} catch (err) { Deno.stdout.write(new TextEncoder().encode(err.message))}