diff --git a/src/GitOps.js b/src/GitOps.js index 2717fb7..ff807f8 100644 --- a/src/GitOps.js +++ b/src/GitOps.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line no-unused-vars import HistoryEntry from './HistoryEntry.js'; import util from 'util'; import { exec as execClassic, execFile as execFileC } from 'child_process'; diff --git a/src/LoadData.js b/src/LoadData.js index 355c85d..15d0e41 100644 --- a/src/LoadData.js +++ b/src/LoadData.js @@ -18,7 +18,7 @@ export class LoadData { /** History file. */ this.historyFile = 'history.json'; /** Initial URL. */ - this.origin = `https://${site}`; ; + this.origin = `https://${site}`; /** * Page history. * @type {HistoryEntry[]} @@ -96,7 +96,7 @@ export class LoadData { if (this.debug) console.log(data.revisions.length, data.older); - for (const revision of data?.revisions) { + for (const revision of data.revisions) { const entry = new HistoryEntry(revision); this.history.push(entry); if (this.debug) @@ -233,7 +233,7 @@ export class LoadData { return data; } - /** + /** * Read history from a file. */ async readHistory() { diff --git a/src/load.js b/src/load.js index 29d6e18..9f5d43f 100644 --- a/src/load.js +++ b/src/load.js @@ -1,3 +1,4 @@ +/* eslint-disable no-unused-vars */ import GitOps from './GitOps.js'; import { LoadData } from './LoadData.js';