Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Attribute marked private recipes not private in json dump #2414

Closed
nefrob opened this issue Oct 5, 2024 · 1 comment
Closed

[Bug] Attribute marked private recipes not private in json dump #2414

nefrob opened this issue Oct 5, 2024 · 1 comment

Comments

@nefrob
Copy link

nefrob commented Oct 5, 2024

Ex. given the following justfile

[private]
my-private-recipe:
  echo "private"

running just --dump --dump-format json yields

  "recipes": {
    "my-private-recipe": {
      "attributes": [
        "private"
      ],
      "body": [
        [
          "echo \"private\""
        ]
      ],
      "dependencies": [],
      "doc": null,
      "name": "my-private-recipe",
      "namepath": "my-private-recipe",
      "parameters": [],
      "priors": 0,
      "private": false,
      "quiet": false,
      "shebang": false
    }
  }

while just --list yields nothing.

@casey
Copy link
Owner

casey commented Oct 5, 2024

Good catch! Fixed in #2415.

@casey casey closed this as completed Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants