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

[Issue] Whitelisting non-existing modules crashes the CLI #2469

Open
2 tasks done
bpoulaindev opened this issue Jun 17, 2024 · 0 comments
Open
2 tasks done

[Issue] Whitelisting non-existing modules crashes the CLI #2469

bpoulaindev opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bpoulaindev
Copy link
Contributor

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

Whitelisting a module through bruno.json config crashes the CLI but seems to work in the desktop client.
This makes dependencies hard to manage if you have to sync package.json and bruno.json.

.bru file to reproduce the bug

content of bruno.json config :

{
  "version": "1",
  "name": "basic-collection",
  "type": "collection",
  "ignore": [
    "node_modules",
    ".git"
  ],
  "scripts": {
    "moduleWhitelist": ["thisDoesNotExist"],
    "filesystemAccess": {
      "allow": true
    }
  }
}

Screenshots/Live demo link

Capture d’écran 2024-06-17 à 14 45 51
@bpoulaindev bpoulaindev added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant