We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a120bf commit 05065f9Copy full SHA for 05065f9
1 file changed
src/data-search.js
@@ -42,11 +42,7 @@ export async function getData () {
42
const collection = await Promise.all(config.map(doSearches));
43
44
// Output all search result papers into data.json
45
- const fileHandle = await fs.openSync('example-data/data.json', 'w');
46
await writeFormattedJSON(collection, 'example-data/data.json');
47
- fs.closeSync(fileHandle);
48
-
49
- // return collection;
50
}
51
52
-await getData();
+getData();
0 commit comments