mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -05:00
13 lines
262 B
TypeScript
13 lines
262 B
TypeScript
|
/**
|
||
|
* This should succeed because we pass `--allow-env=PATH`
|
||
|
* ```ts
|
||
|
* const _path = Deno.env.get("PATH");
|
||
|
* ```
|
||
|
*
|
||
|
* This should fail because we don't allow for env access to `USER`
|
||
|
* ```ts
|
||
|
* const _user = Deno.env.get("USER");
|
||
|
* ```
|
||
|
* @module doc
|
||
|
*/
|