diff --git a/download-pmd.js b/download-pmd.js index 6610398..1ab8f91 100644 --- a/download-pmd.js +++ b/download-pmd.js @@ -14,7 +14,7 @@ async function extractPmd(buffer) { const Zip = require("adm-zip"); const pmdZip = new Zip(buffer); - pmdZip.extractAllTo("dist", true); + pmdZip.extractAllTo("dist", true, true); } async function movePmd() { diff --git a/package-lock.json b/package-lock.json index 0ec6aef..66f35d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "pmd": "pmd" }, "devDependencies": { - "adm-zip": "^0.5.10" + "adm-zip": "^0.5.16" } }, "node_modules/adm-zip": { diff --git a/package.json b/package.json index 5b1422e..5906a97 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "node-java-connector": "1.1.1" }, "devDependencies": { - "adm-zip": "^0.5.10" + "adm-zip": "^0.5.16" }, "files": [ "/dist",