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

"Permissions" keys with $SHELL variable format do not get subsituted. #42

Closed
jsoverson opened this issue Jul 8, 2022 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@jsoverson
Copy link
Contributor

Describe the bug
The permissions field for external collections does not undergo env variable substitution.

Actual behavior
Using something like "/": "$PWD" results in an error within the wasmtime provider because $PWD does not exist.

Expected behavior
Shell-like variables should get replaced the same way across all parts of the manifest.

To Reproduce
Try to run any manifest with a permissions block like:

permissions:
  dirs: 
    `"/": "$PWD"`

Environment:

  • OS: Mac
  • Architecture: m1
  • Build Version: r1

Additional context
Add any other context about the problem here.

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