summaryrefslogtreecommitdiff
path: root/js/remove.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/remove.ts')
-rw-r--r--js/remove.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/remove.ts b/js/remove.ts
index d9f69399d..89c2ba672 100644
--- a/js/remove.ts
+++ b/js/remove.ts
@@ -12,8 +12,7 @@ export interface RemoveOption {
* set to false.
* `recursive` is set to false by default.
*
- * import { removeSync } from "deno";
- * removeSync("/path/to/dir/or/file", {recursive: false});
+ * Deno.removeSync("/path/to/dir/or/file", {recursive: false});
*/
export function removeSync(path: string, options: RemoveOption = {}): void {
dispatch.sendSync(...req(path, options));
@@ -24,8 +23,7 @@ export function removeSync(path: string, options: RemoveOption = {}): void {
* to false.
* `recursive` is set to false by default.
*
- * import { remove } from "deno";
- * await remove("/path/to/dir/or/file", {recursive: false});
+ * await Deno.remove("/path/to/dir/or/file", {recursive: false});
*/
export async function remove(
path: string,