Skip to main content

UNRESTRICTED_MODE_NOTICE

Constant UNRESTRICTED_MODE_NOTICE 

Source
pub const UNRESTRICTED_MODE_NOTICE: &str = "running without approval prompts, and with file access outside the working \
     directory; pass --restricted to limit both.";
Expand description

The notice shown on a normal (unrestricted) run.

Kept to one line: the default changed to “no jail, no prompts”, and a user who does not know that cannot make an informed choice about where they run this.