mirror of
https://github.com/denoland/deno.git
synced 2025-07-28 07:33:56 +00:00
Update to Prettier 2 and use ES Private Fields (#4498)
This commit is contained in:
parent
1397b8e0e7
commit
bced52505f
329 changed files with 2787 additions and 2430 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue