Skip to content

Commit

Permalink
prefix unused varaibles
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Feb 6, 2023
1 parent 586c1b4 commit 005c734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function main() {
async function parseOptions() {
try {
return JSON.parse(await Deno.readTextFile(resolve(BASE_PATH, OPTIONS_FILE_PATH)));
} catch (error) {
} catch (_error) {
return {};
}
}
Expand Down Expand Up @@ -79,7 +79,7 @@ async function savePage(pageData, options) {
const basePath = resolve(BASE_PATH, options.savePath || DOWNLOADS_PATH, fileDirectory);
try {
await Deno.mkdir(basePath, { recursive: true });
} catch (error) {
} catch (_error) {
// ignored
}
await Deno.writeTextFile(fileDirectory, pageData.content);
Expand Down

0 comments on commit 005c734

Please sign in to comment.