From a4dde552de8fced4cfdff7f0127b51e1d2eabca5 Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Wed, 15 Jan 2020 19:21:35 -0500 Subject: Revert "feat(flags): script arguments come after '--'" (#3681) Due to complaints about ergonomics and because it breaks shebang on linux. This reverts commit 2d5457df15d8c4a81362bb2d185b5c6013faa1d8. BREAKING CHANGE --- std/prettier/main_test.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'std/prettier/main_test.ts') diff --git a/std/prettier/main_test.ts b/std/prettier/main_test.ts index 0a7a05a46..5e9c0ad57 100644 --- a/std/prettier/main_test.ts +++ b/std/prettier/main_test.ts @@ -25,8 +25,7 @@ const cmd = [ "--allow-run", "--allow-write", "--allow-read", - "./prettier/main.ts", - "--" + "./prettier/main.ts" ]; const testdata = join("prettier", "testdata"); @@ -403,7 +402,6 @@ test(async function testPrettierWithAutoConfig(): Promise { "--allow-read", "--allow-env", prettierFile, - "--", "../5.ts", "--config", "auto" @@ -470,7 +468,6 @@ test(async function testPrettierWithSpecifiedConfig(): Promise { "--allow-read", "--allow-env", prettierFile, - "--", "../5.ts", "--config", config.name @@ -506,7 +503,6 @@ test(async function testPrettierWithAutoIgnore(): Promise { "--allow-read", "--allow-env", prettierFile, - "--", "**/*", "--ignore-path", "auto" @@ -535,7 +531,6 @@ test(async function testPrettierWithSpecifiedIgnore(): Promise { "--allow-read", "--allow-env", prettierFile, - "--", "**/*", "--ignore-path", "typescript.prettierignore" -- cgit v1.2.3