Skip to content

Commit 5075a50

Browse files
committed
Update download.ts
1 parent 726cb7a commit 5075a50

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/generator/download.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,12 @@ export async function downloadDiscoveryDocs(
8989
const res = await request({url});
9090
// The keys in the downloaded JSON come back in an arbitrary order from
9191
// request to request. Sort them before storing.
92-
// console.log(JSON.parse(res.data as string))
9392
const newDoc = sortKeys(JSON.parse(res.data as string));
9493
let updateFile = true;
9594

9695
try {
9796
const oldDoc = JSON.parse(await gfs.readFile(apiPath));
98-
// console.log(oldDoc)
99-
// console.log(newDoc)
10097
updateFile = shouldUpdate(newDoc, oldDoc);
101-
// console.log(updateFile)
10298
changeSet.changes = getDiffs(oldDoc, newDoc);
10399
} catch {
104100
// If the file doesn't exist, that's fine it's just new

0 commit comments

Comments
 (0)