From 2d5457df15d8c4a81362bb2d185b5c6013faa1d8 Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Wed, 8 Jan 2020 14:59:53 -0500 Subject: feat(flags): script arguments come after '--' (#3621) --- std/fs/exists_test.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'std/fs/exists_test.ts') diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts index b8c968a02..8e9381ed2 100644 --- a/std/fs/exists_test.ts +++ b/std/fs/exists_test.ts @@ -124,6 +124,7 @@ test(async function existsPermission(): Promise { } args.push(path.join(testdataDir, s.async ? "exists.ts" : "exists_sync.ts")); + args.push("--"); args.push(s.file); const { stdout } = Deno.run({ -- cgit v1.2.3