Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Aug 14, 2024
1 parent 779c6b4 commit 18c5f64
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#! /usr/bin/env node

import { createReadStream } from 'fs'
import fs from 'fs/promises'
import { resolve } from 'path'
import * as readline from 'node:readline/promises'

import log from 'loglevel'
import logPrefix from 'loglevel-plugin-prefix'
import { Command } from 'commander'
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ export class WACZ {
readFromExistingCDXJ = async () => {
this.stateCheck()

const { cdxjDir, log, addFileToZip } = this
const { cdxjDir, log } = this

if (!cdxjDir) {
throw new Error('Error copying CDXJ files, no directory specified.')
Expand Down
1 change: 0 additions & 1 deletion index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ test('WACZ.process with cdxj option creates valid WACZ with index from provided
await archive.process(false)

const zip = new StreamZip.async({ file: options.output }) // eslint-disable-line
const zipEntries = await zip.entries()

//
// Indexes should be present
Expand Down

0 comments on commit 18c5f64

Please sign in to comment.