Skip to content

Commit

Permalink
lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Eccenux committed Jul 13, 2023
1 parent e7778e7 commit 883c388
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/GitOps.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
6 changes: 3 additions & 3 deletions src/LoadData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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[]}
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -233,7 +233,7 @@ export class LoadData {
return data;
}

/**
/**
* Read history from a file.
*/
async readHistory() {
Expand Down
1 change: 1 addition & 0 deletions src/load.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
import GitOps from './GitOps.js';
import { LoadData } from './LoadData.js';

Expand Down

0 comments on commit 883c388

Please sign in to comment.