-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor #181
Refactor #181
Conversation
* Lifecycle function to delete basepath mapping | ||
* Wraps deletion of basepath mapping | ||
*/ | ||
public async removeBasePathMapping(): Promise<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we need a wrapper function here since its a 1 liner. Could put thee contents of deleteBasePathMapping
in here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of making the lifecycle functions and the actual API calls separate - just consistent with the rest of the codebase.
package.json
Outdated
@@ -30,7 +30,7 @@ | |||
"test": "tsc --project . && nyc mocha -r ts-node/register test/unit-tests/index.test.ts && nyc report --reporter=text-summary", | |||
"integration-test": "node ./node_modules/istanbul/lib/cli.js test _mocha test/integration-tests -- -R spec", | |||
"lint": "tslint --project .", | |||
"build": "tsc --project . && npm publish" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the publish command?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope - Travis runs npm publish
, that's why I specified just compiling before Travis deploys
3797bb5#diff-354f30a63fb0907d4ad57269548329e3R14
Major Change
Version 3.0.0
delete_domain
idempotent (does not error out if no domain to be deleted), closes Please make delete_domain operation idempotent #150