@piperace/cli 0.3.9 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/install.js +1 -1
package/package.json
CHANGED
package/scripts/install.js
CHANGED
|
@@ -170,7 +170,7 @@ async function installBinary(kind = 'cli') {
|
|
|
170
170
|
|
|
171
171
|
// 2. Fall back to downloading from the public CDN.
|
|
172
172
|
const baseUrl = process.env.PIPERACE_DOWNLOAD_URL || 'https://piperace.com/downloads';
|
|
173
|
-
const url = `${baseUrl}
|
|
173
|
+
const url = `${baseUrl}/${VERSION}/${sourceName}`;
|
|
174
174
|
console.log(`[piperace] Downloading ${kind} binary from ${url}`);
|
|
175
175
|
|
|
176
176
|
try {
|