Skip to content

Commit

Permalink
chore: Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
tkwiatek committed Dec 20, 2023
1 parent b695576 commit 6f2ea18
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { spawn } from 'child_process';
import fs from 'node:fs';
import process from 'node:process';


const pkg = JSON.parse(fs.readFileSync(new URL('../package.json', import.meta.url)));
const url = `https://raw.githubusercontent.com/imagemin/optipng-bin/v${pkg.version}/vendor`;

function getArch() {
switch (process.arch) {
case 'x32':
Expand Down

0 comments on commit 6f2ea18

Please sign in to comment.