diff options
author | Ry Dahl <ry@tinyclouds.org> | 2020-01-15 19:21:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 19:21:35 -0500 |
commit | a4dde552de8fced4cfdff7f0127b51e1d2eabca5 (patch) | |
tree | 6590ed26f995522746948601b281987ece5c8ff3 /std/prettier | |
parent | 3eab20ce42458fced42dcd031958b07113322e0a (diff) |
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
Diffstat (limited to 'std/prettier')
-rw-r--r-- | std/prettier/main_test.ts | 7 |
1 files changed, 1 insertions, 6 deletions
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<void> { "--allow-read", "--allow-env", prettierFile, - "--", "../5.ts", "--config", "auto" @@ -470,7 +468,6 @@ test(async function testPrettierWithSpecifiedConfig(): Promise<void> { "--allow-read", "--allow-env", prettierFile, - "--", "../5.ts", "--config", config.name @@ -506,7 +503,6 @@ test(async function testPrettierWithAutoIgnore(): Promise<void> { "--allow-read", "--allow-env", prettierFile, - "--", "**/*", "--ignore-path", "auto" @@ -535,7 +531,6 @@ test(async function testPrettierWithSpecifiedIgnore(): Promise<void> { "--allow-read", "--allow-env", prettierFile, - "--", "**/*", "--ignore-path", "typescript.prettierignore" |