diff --git a/package-lock.json b/package-lock.json index 95f491e..35922c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/artisan", - "version": "1.3.0", + "version": "1.3.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@athenna/artisan", - "version": "1.3.0", + "version": "1.3.3", "license": "MIT", "dependencies": { "@athenna/ioc": "1.2.3", diff --git a/package.json b/package.json index 5f4a0e8..c029a09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/artisan", - "version": "1.3.2", + "version": "1.3.3", "description": "The Athenna CLI application. Built on top of commander.", "license": "MIT", "author": "João Lenon ", diff --git a/src/Helpers/TemplateHelper.js b/src/Helpers/TemplateHelper.js index 8e97bd2..51abc1e 100644 --- a/src/Helpers/TemplateHelper.js +++ b/src/Helpers/TemplateHelper.js @@ -423,7 +423,7 @@ export class TemplateHelper { ) if (await File.exists(path)) { - throw new AlreadyExistFileException('controller', path) + throw new AlreadyExistFileException(resource, path) } return new File(path, content).load()