diff options
Diffstat (limited to 'std/fs/testdata/exists_sync.ts')
-rw-r--r-- | std/fs/testdata/exists_sync.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/fs/testdata/exists_sync.ts b/std/fs/testdata/exists_sync.ts index 70b2071c1..27dee268b 100644 --- a/std/fs/testdata/exists_sync.ts +++ b/std/fs/testdata/exists_sync.ts @@ -1,7 +1,7 @@ import { existsSync } from "../exists.ts"; try { - const isExist = existsSync(Deno.args[1]) + const isExist = existsSync(Deno.args[0]) Deno.stdout.write(new TextEncoder().encode(isExist ? 'exist' :'not exist')) } catch (err) { Deno.stdout.write(new TextEncoder().encode(err.message)) |