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

std/fs/testdata/empty_dir.ts

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