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

chore(lint): cleanup unused variables in code #1563

Merged
merged 5 commits into from
Aug 7, 2018

Conversation

tech4him1
Copy link
Contributor

@tech4him1 tech4him1 commented Jul 31, 2018

Remove unused variables in code. I think this should get a fairly thorough review to make sure that there are not hidden bugs if we should have been using these variables.

@tech4him1 tech4him1 changed the title WIP: chore(lint): remove unused vars WIP: chore(lint): cleanup unused variables in code Jul 31, 2018
@tech4him1 tech4him1 mentioned this pull request Jul 31, 2018
7 tasks
@verythorough
Copy link
Contributor

verythorough commented Jul 31, 2018

Deploy preview for netlify-cms-www ready!

Built with commit ee5d7a3

https://deploy-preview-1563--netlify-cms-www.netlify.com

@verythorough
Copy link
Contributor

verythorough commented Jul 31, 2018

Deploy preview for cms-demo ready!

Built with commit ee5d7a3

https://deploy-preview-1563--cms-demo.netlify.com

@tech4him1 tech4him1 changed the title WIP: chore(lint): cleanup unused variables in code chore(lint): cleanup unused variables in code Aug 1, 2018
@@ -557,7 +557,7 @@ export default class API {
const contentKey = slug;
const branchName = this.generateBranchName(contentKey);
return this.retrieveMetadata(contentKey)
.then(metadata => this.closePR(metadata.pr, metadata.objects))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we should be removing associated metadata when a PR is closed, but we're not.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@erquhart Feel free to push a fix for this here, or separately.

Copy link
Contributor

@erquhart erquhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spent some time looking through this and pickaxing some of the more curious changes, didn't uncover anything. I'm alright with merging as is.

@erquhart erquhart merged commit 88f7dca into decaporg:master Aug 7, 2018
@tech4him1 tech4him1 deleted the no-unused-vars branch August 7, 2018 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants