Skip to content
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

[5.x] add option to confirm overwrite on save #9709

Closed
wants to merge 1 commit into from

Conversation

elastic-jasper
Copy link
Contributor

add option to confirm overwrite on save

Backports PR #9659

Commit 1:
add option to confirm overwrite on save

Commit 2:
Make save options instead of using a boolean to increase readability.

Commit 3:
clean up comment

Commit 4:
Address code comments

  • implicit returns from arrow function
  • throw an error not an object

clean up implicit return confusion

use promise.reject instead of throw.

Backports PR #9659

**Commit 1:**
add option to confirm overwrite on save

* Original sha: 5875c15
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-12-27T14:29:48Z

**Commit 2:**
Make save options instead of using a boolean to increase readability.

* Original sha: 1701b9c
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-12-27T21:07:56Z

**Commit 3:**
clean up comment

* Original sha: bc2b9b1
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-12-27T21:14:43Z

**Commit 4:**
Address code comments

- implicit returns from arrow function
- throw an error not an object

clean up implicit return confusion

use promise.reject instead of throw.

* Original sha: 8e43346
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-12-29T19:11:50Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants