mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 02:27:46 -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
|
||
|
*/
|