fix(mod_assets): Fix logging message in ensureAssetsDir to correctly state when directory is created
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user