summaryrefslogtreecommitdiff
path: root/js/symlink.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/symlink.ts')
-rw-r--r--js/symlink.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/symlink.ts b/js/symlink.ts
index 1ade319d7..fb92688ad 100644
--- a/js/symlink.ts
+++ b/js/symlink.ts
@@ -8,8 +8,7 @@ import * as util from "./util";
* argument can be set to `dir` or `file` and is only available on Windows
* (ignored on other platforms).
*
- * import { symlinkSync } from "deno";
- * symlinkSync("old/name", "new/name");
+ * Deno.symlinkSync("old/name", "new/name");
*/
export function symlinkSync(
oldname: string,
@@ -23,8 +22,7 @@ export function symlinkSync(
* set to `dir` or `file` and is only available on Windows (ignored on other
* platforms).
*
- * import { symlink } from "deno";
- * await symlink("old/name", "new/name");
+ * await Deno.symlink("old/name", "new/name");
*/
export async function symlink(
oldname: string,