fix(mod_assets): Fix logging message in ensureAssetsDir to correctly state when directory is created
This commit is contained in:
parent
37082bd8f4
commit
709a67fe82
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# 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)
|
## 2025-01-29 - 2.2.3 - fix(mod_assets)
|
||||||
Fix issue with asset directory copy
|
Fix issue with asset directory copy
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsbundle',
|
name: '@git.zone/tsbundle',
|
||||||
version: '2.2.3',
|
version: '2.2.4',
|
||||||
description: 'a bundler using rollup for painless bundling of web projects'
|
description: 'a bundler using rollup for painless bundling of web projects'
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,8 @@ export class AssetsHandler {
|
|||||||
public async ensureAssetsDir() {
|
public async ensureAssetsDir() {
|
||||||
const assetsDirExists = await plugins.smartfile.fs.isDirectory(this.defaultFromDirPath);
|
const assetsDirExists = await plugins.smartfile.fs.isDirectory(this.defaultFromDirPath);
|
||||||
if (!assetsDirExists) {
|
if (!assetsDirExists) {
|
||||||
console.log(`creating assets directory at ${this.defaultFromDirPath}`);
|
|
||||||
await plugins.smartfile.fs.ensureDir(this.defaultFromDirPath);
|
await plugins.smartfile.fs.ensureDir(this.defaultFromDirPath);
|
||||||
|
console.log(`created assets directory at ${this.defaultFromDirPath}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user