From d29957ad17956016c35a04f5f1f98565e58e8a2e Mon Sep 17 00:00:00 2001 From: Andy Hayden Date: Wed, 6 Mar 2019 07:24:53 -0800 Subject: Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239) Original: https://github.com/denoland/deno_std/commit/0fc13fffbdb59d6aee2b11ff17a5de382273126b --- prettier/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'prettier') diff --git a/prettier/README.md b/prettier/README.md index 7ec9b7355..cbfce3e17 100644 --- a/prettier/README.md +++ b/prettier/README.md @@ -7,19 +7,19 @@ Prettier APIs and tools for deno To formats the source files, run: ```console -deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts +deno --allow-run --allow-write https://deno.land/std/prettier/main.ts ``` You can format only specific files by passing the arguments. ```console -deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts path/to/script.ts +deno --allow-run --allow-write https://deno.land/std/prettier/main.ts path/to/script.ts ``` You can format files on specific directory by passing the directory's path. ```console -deno --allow-run --allow-write https://deno.land/x/std/prettier/main.ts path/to/script.ts +deno --allow-run --allow-write https://deno.land/std/prettier/main.ts path/to/script.ts ``` ## Use API @@ -30,7 +30,7 @@ You can use APIs of prettier as the following: import { prettier, prettierPlugins -} from "https://deno.land/x/std/prettier/prettier.ts"; +} from "https://deno.land/std/prettier/prettier.ts"; prettier.format("const x = 1", { parser: "babel", -- cgit v1.2.3