Skip to content

Commit

Permalink
Merge pull request #71 from developmentseed/fix/70-kes-override
Browse files Browse the repository at this point in the history
Remove duplicated cwd. Fix #70
  • Loading branch information
olafveerman authored Dec 21, 2018
2 parents 449b418 + d2b031f commit d115750
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d115750

Please sign in to comment.