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

Update PostgresStorageAdapter.js #2082

Closed
wants to merge 1 commit into from
Closed

Update PostgresStorageAdapter.js #2082

wants to merge 1 commit into from

Conversation

vitaly-t
Copy link
Contributor

  • correcting some queries
  • correcting spellings
  • adding notes

* correcting some queries
* correcting spellings
* adding notes
@drew-gross
Copy link
Contributor

It looks like this PR changes the whitespace for the entire file, maybe your editor did that automatically. Could you undo that? It both makes it hard to tell what actually changed, and make git blame a lot less useful.

@codecov-io
Copy link

Current coverage is 90.34%

Merging #2082 into master will decrease coverage by 1.56%

@@             master      #2082   diff @@
==========================================
  Files            93         93          
  Lines          6717       6715     -2   
  Methods        1191       1190     -1   
  Messages          0          0          
  Branches       1411       1411          
==========================================
- Hits           6174       6067   -107   
- Misses          543        648   +105   
  Partials          0          0          

Powered by Codecov. Last updated by 0ff35e1...b1ee52e

@vitaly-t
Copy link
Contributor Author

vitaly-t commented Jun 17, 2016

Damn, I've made so many small changes, and to get get rid of the changed white spaces I would have to re-do everything. That sucks.

Do you have tests for that to confirm the correctness? I really would rather not re-do everything.

@mjgerace
Copy link

mjgerace commented Jun 17, 2016

@vitaly-t shift-tab is your friend, can't you simply fix that with a formatter/linter/manually in no time? Try making tab spacing 2 in your IDE.

@drew-gross
Copy link
Contributor

Yep, I don't know what editor you are using, but in sublime text you can just set the indentation level and then re-indent everything.

We have fairly comprehensive tests so I'm pretty sure your code is correct, but I'd like to look at what exactly changed as well, which is hard when the whitespace changes make it look like everything chagned. If you don't want to do it, I could do the re-indentation myself, but you would lose attribution.

@vitaly-t
Copy link
Contributor Author

I'm using WebStorm. I would pay better attention to it next time, but re-doing all changes now is kind of late :|

@blacha
Copy link
Contributor

blacha commented Jun 17, 2016

It looks like you have just switched the file from 2 space indenting to 4 space indenting, if you just reformat it back into two space indenting and commit that the diff should then work ok?

@drew-gross
Copy link
Contributor

No problem, I'll close this and apply the same changes in a new PR.

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.

5 participants