Skip to content

Commit

Permalink
Fix verbose extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Dec 22, 2024
1 parent 64d521d commit 807d8d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions download-libzim.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ for (let url of urls) {
.then(() => {
const cmd = isWindows
? `unzip.exe -v ${dlFile} -d download`
: `tar --strip-components 1 -xf ${dlFile} -C ./download`;
console.log(`Running Extract:`, `${cmd}`);
return exec(cmd);
: `tar --strip-components 1 -xvf ${dlFile} -C ./download`;
console.log(`Running Extract:`, `[${cmd}]`);
return exec(cmd, {verbose:1});

Check warning on line 80 in download-libzim.js

View check run for this annotation

codefactor.io / CodeFactor

download-libzim.js#L80

Replace `··return·exec(cmd,·{verbose:1` with `return·exec(cmd,·{·verbose:·1·` (prettier/prettier)
})
.then(() => {
console.info(`Successfully downloaded and extracted file`);
Expand Down

0 comments on commit 807d8d3

Please sign in to comment.