mirror of
https://github.com/denoland/deno.git
synced 2025-09-22 10:22:34 +00:00
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:
parent
3eab20ce42
commit
a4dde552de
14 changed files with 82 additions and 78 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue