openkbs 0.0.33 → 0.0.34
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/src/utils.js +1 -2
package/package.json
CHANGED
package/src/utils.js
CHANGED
|
@@ -1032,7 +1032,6 @@ async function downloadTemplates() {
|
|
|
1032
1032
|
// Download templates from S3
|
|
1033
1033
|
await downloadTemplatesFromS3(templatesDir);
|
|
1034
1034
|
|
|
1035
|
-
console.log('Templates downloaded successfully');
|
|
1036
1035
|
} catch (error) {
|
|
1037
1036
|
console.error('Error downloading templates:', error);
|
|
1038
1037
|
throw error;
|
|
@@ -1073,7 +1072,7 @@ async function downloadTemplatesFromS3(targetDir) {
|
|
|
1073
1072
|
|
|
1074
1073
|
const fileContent = await streamToBuffer(response.Body);
|
|
1075
1074
|
await fs.writeFile(localPath, fileContent);
|
|
1076
|
-
console.log(
|
|
1075
|
+
console.log(relativePath);
|
|
1077
1076
|
});
|
|
1078
1077
|
|
|
1079
1078
|
// Wait for all downloads to complete
|