Incorrect error message when refusing to read past root dir #350

Closed
opened 2025-12-30 01:23:44 +01:00 by adam · 0 comments
Owner

Originally created by @bioball on GitHub (Oct 9, 2025).

Attempting to import a module that is past the root dir fails with incorrect error message:

Refusing to load module `{0}` because it does not match any entry in the module allowlist (`--allowed-modules`).
Originally created by @bioball on GitHub (Oct 9, 2025). Attempting to import a module that is past the root dir fails with incorrect error message: ``` Refusing to load module `{0}` because it does not match any entry in the module allowlist (`--allowed-modules`). ```
adam closed this issue 2025-12-30 01:23:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#350