fix(website_update): Await supplyVariables call in website update template
This commit is contained in:
		| @@ -1,5 +1,11 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2025-04-15 - 1.15.2 - fix(website_update) | ||||
| Await supplyVariables call in website update template | ||||
|  | ||||
| - Changed website template update to properly await the supplyVariables method | ||||
| - Ensured asynchronous consistency in updating website template variables | ||||
|  | ||||
| ## 2025-04-15 - 1.15.1 - fix(cli) | ||||
| Refresh internal CLI tooling and configuration for consistency. | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/cli', | ||||
|   version: '1.15.1', | ||||
|   version: '1.15.2', | ||||
|   description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.' | ||||
| } | ||||
|   | ||||
| @@ -57,7 +57,7 @@ export const run = async (project: Project) => { | ||||
|   // update html | ||||
|   if (project.gitzoneConfig.data.projectType === 'website') { | ||||
|     const websiteUpdateTemplate = await templateModule.getTemplate('website_update'); | ||||
|     websiteUpdateTemplate.supplyVariables({ | ||||
|     await websiteUpdateTemplate.supplyVariables({ | ||||
|       assetbrokerUrl: project.gitzoneConfig.data.module.assetbrokerUrl, | ||||
|       legalUrl: project.gitzoneConfig.data.module.legalUrl, | ||||
|     }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user