Skip to content

Investigate and improve permission prompting #31

Open
@dsherret

Description

@dsherret

I think the permission prompting could be a little better and explanatory.

Edit: investigated all permission prompts...

  1. Once deno supports Wasm modules then we can get rid of needing to save and read the cache directory.
  2. Calling Deno.cwd() is necessary when the shell is created and cannot be lazily evaluated since it could change while the shell is executing, which would lead to very unexpected behaviour. This can be bypassed by providing an explicit cwd option.
  3. Getting env access to all when the shell is initialized is necessary in order to get the environment state when the shell is spawned (can't be lazily evaluated, which is the same issue as the last point). This could be mitigated by supporting clearEnv() in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions