Skip to content

Empty permissions object for test/compile/bench in config file should not require -P #30978

@dsherret

Description

@dsherret

Doing this:

{
  "test": {
    "permissions": {}
  }
}

Should not error:

> deno test
error: Test permissions were found in the config file. Did you mean to run with `-P` or a permission flag?

Version: Deno 2.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions