diff --git a/CHANGELOG b/CHANGELOG index 712343b..2d06fa7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +## v2.2.7 +- fix a bug where Kes class overrides were not picked up. #70 + ## v2.2.6 - fix how p-retry handles exceptions - add ifEquals and ifNotEquals helpers to handlerbar diff --git a/package.json b/package.json index 498d4a8..d5b55a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kes", - "version": "2.2.6", + "version": "2.2.7", "description": "Making deployment to AWS using CloudFormation easier and fun", "scripts": { "html-docs": "documentation build bin/cli.js -f html -o _docs --theme node_modules/documentation-devseed-theme", diff --git a/src/utils.js b/src/utils.js index c35e0c1..c148125 100644 --- a/src/utils.js +++ b/src/utils.js @@ -194,7 +194,7 @@ function determineKesClass(options, Kes) { else { kesFolder = path.join(process.cwd(), '.kes'); } - Kes = require(`${path.join(process.cwd(), kesFolder, 'kes.js')}`); + Kes = require(`${path.join(kesFolder, 'kes.js')}`); } catch (e) { // check if there is a template and the template has kes class