mirror of
https://github.com/apple/pkl.git
synced 2026-04-28 19:27:18 +02:00
Fix error message when reading a resource/module past root dir (#1234)
This commit is contained in:
@@ -690,6 +690,12 @@ Refusing to read resource `{0}` because it does not match any entry in the resou
|
||||
moduleNotInAllowList=\
|
||||
Refusing to load module `{0}` because it does not match any entry in the module allowlist (`--allowed-modules`).
|
||||
|
||||
resourcePastRootDir=\
|
||||
Refusing to read resource `{0}` because it is not within the root directory (`--root-dir`).
|
||||
|
||||
modulePastRootDir=\
|
||||
Refusing to load module `{0}` because it is not within the root directory (`--root-dir`).
|
||||
|
||||
insufficientModuleTrustLevel=\
|
||||
Refusing to import module `{0}` because importing module `{1}` has an insufficient trust level.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user