Skip to content

Commit

Permalink
chore: clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor committed Dec 6, 2023
1 parent 98b7676 commit 85c6f78
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions scripts/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ async function fetchAdditionalText(container) {
}

async function saveFile(container) {
if (!container) {
return;
}
await writeFile(
path.join(__dirname, "..", "data", `${container.data.id}.json`),
JSON.stringify(container, 0, 2),
Expand Down
4 changes: 0 additions & 4 deletions scripts/libs/astify.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ export function cleanAst(tree) {
return false;
});

if (!cleanedTree) {
return null;
}

const keys = [
"cid",
"num",
Expand Down

0 comments on commit 85c6f78

Please sign in to comment.