Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

style: use const for currentUrl variable (never reassigned)

Marioc0ff437b653a
diff --git a/npm/scripts/postinstall.js b/npm/scripts/postinstall.js
index fa0372f5..586f3700 100644
--- a/npm/scripts/postinstall.js
+++ b/npm/scripts/postinstall.js
@@ -192,7 +192,6 @@ async function downloadBinary(platform, version) {
console.log(`Downloading from ${downloadUrl}...`);
const file = fs.createWriteStream(binaryPath);
- let currentUrl = downloadUrl;
let redirectCount = 0;
const maxRedirects = 5;
@@ -257,7 +256,7 @@ async function downloadBinary(platform, version) {
.on('error', reject);
};
- performDownload(currentUrl);
+ performDownload(downloadUrl);
});
}