blockend-cli 1.5.0 → 1.5.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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -313,7 +313,7 @@ async function addCommand(blockName, options = {}) {
|
|
|
313
313
|
const filesWritten = [];
|
|
314
314
|
try {
|
|
315
315
|
for (const fm of filesToDownload) {
|
|
316
|
-
const res = await fetch(`${
|
|
316
|
+
const res = await fetch(`${RAW_CDN_BASE}/${fm.source}`);
|
|
317
317
|
if (!res.ok) throw new Error(`Download failed: ${fm.source} (HTTP ${res.status})`);
|
|
318
318
|
let content = await res.text();
|
|
319
319
|
const writtenFilePath = path.join(targetFolder, fm.target);
|
package/package.json
CHANGED