Revert "feat(flags): script arguments come after '--'" (#3681)

Due to complaints about ergonomics and because it breaks shebang on
linux.

This reverts commit 2d5457df15.

BREAKING CHANGE
This commit is contained in:
Ry Dahl 2020-01-15 19:21:35 -05:00 committed by GitHub
parent 3eab20ce42
commit a4dde552de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 82 additions and 78 deletions

View file

@ -217,13 +217,12 @@ test(async function emptyDirPermission(): Promise<void> {
args.push(
path.join(testdataDir, s.async ? "empty_dir.ts" : "empty_dir_sync.ts")
);
args.push("--");
args.push("testfolder");
const { stdout } = Deno.run({
stdout: "piped",
cwd: testdataDir,
args
args: args
});
const output = await Deno.readAll(stdout);