From 709a67fe82f01fd64f2115b76c832de1f1818416 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 29 Jan 2025 18:27:13 +0100 Subject: [PATCH] fix(mod_assets): Fix logging message in ensureAssetsDir to correctly state when directory is created --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/mod_assets/index.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 2612981..293763b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2025-01-29 - 2.2.4 - fix(mod_assets) +Fix logging message in ensureAssetsDir to correctly state when directory is created + +- Corrected logging output in ensureAssetsDir method to indicate directory creation. + ## 2025-01-29 - 2.2.3 - fix(mod_assets) Fix issue with asset directory copy diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 9305671..db2862d 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsbundle', - version: '2.2.3', + version: '2.2.4', description: 'a bundler using rollup for painless bundling of web projects' } diff --git a/ts/mod_assets/index.ts b/ts/mod_assets/index.ts index 497c582..2ca9096 100644 --- a/ts/mod_assets/index.ts +++ b/ts/mod_assets/index.ts @@ -8,8 +8,8 @@ export class AssetsHandler { public async ensureAssetsDir() { const assetsDirExists = await plugins.smartfile.fs.isDirectory(this.defaultFromDirPath); if (!assetsDirExists) { - console.log(`creating assets directory at ${this.defaultFromDirPath}`); await plugins.smartfile.fs.ensureDir(this.defaultFromDirPath); + console.log(`created assets directory at ${this.defaultFromDirPath}`); } }