From 0539e7d02697cdfee120cbc096bf1a78ff705c66 Mon Sep 17 00:00:00 2001 From: Olaf Veerman Date: Fri, 21 Dec 2018 13:33:40 -0500 Subject: [PATCH 1/2] Remove duplicated cwd. Fix #70 --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From d2b031f0d965d8595fc48045c35a12ad93d2dc54 Mon Sep 17 00:00:00 2001 From: Olaf Veerman Date: Fri, 21 Dec 2018 15:59:27 -0500 Subject: [PATCH 2/2] Add changelog and bump version --- CHANGELOG | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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",