summaryrefslogtreecommitdiff
path: root/std/examples/gist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/gist.ts')
-rwxr-xr-xstd/examples/gist.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/examples/gist.ts b/std/examples/gist.ts
index 15f00ff5d..a11a92383 100755
--- a/std/examples/gist.ts
+++ b/std/examples/gist.ts
@@ -35,7 +35,7 @@ for (const filename of parsedArgs._) {
const content = {
description: parsedArgs.title || parsedArgs.t || "Example",
public: false,
- files: files
+ files: files,
};
const body = JSON.stringify(content);
@@ -44,9 +44,9 @@ const res = await fetch("https://api.github.com/gists", {
headers: [
["Content-Type", "application/json"],
["User-Agent", "Deno-Gist"],
- ["Authorization", `token ${token}`]
+ ["Authorization", `token ${token}`],
],
- body
+ body,
});
if (res.ok) {