1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

docs: Add missing closing parenthesis (#8477)

This commit is contained in:
Chayim Refael Friedman 2020-11-25 13:54:38 +02:00 committed by GitHub
parent a08d2eee2b
commit f42adf2277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1131,7 +1131,7 @@ declare namespace Deno {
* ```ts * ```ts
* const status = await Deno.permissions.request({ name: "env" }); * const status = await Deno.permissions.request({ name: "env" });
* if (status.state === "granted") { * if (status.state === "granted") {
* console.log(Deno.dir("home"); * console.log(Deno.dir("home"));
* } else { * } else {
* console.log("'env' permission is denied."); * console.log("'env' permission is denied.");
* } * }