-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 Position
and PositionDiff
#4445
Conversation
Travis tests have failedHey @J-Fields, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
npm run build
npm test
TravisBuddy Request Identifier: f4d93750-2b47-11ea-b3af-3392aa6c8569 |
dd61bda
to
9ca4f59
Compare
Travis tests have failedHey @J-Fields, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
npm test
TravisBuddy Request Identifier: d72a1340-2b48-11ea-b3af-3392aa6c8569 |
9ca4f59
to
77b1492
Compare
Travis tests have failedHey @J-Fields, Node.js: 8if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
npm test
TravisBuddy Request Identifier: e8ed8640-2b50-11ea-b3af-3392aa6c8569 |
The biggest change is in how PositionDiffs are constructed - now with a object parameter, so it's much easier to understand what the intention is. BOL diffs no longer accept a character - they bring you to the beginning of the line. And a few other small tweaks. This probably should've been split across a couple commits, but too late for that now.
77b1492
to
8efd463
Compare
The biggest change is in how PositionDiffs are constructed - now with a object parameter, so it's much easier to understand what the intention is.
BOL diffs no longer accept a character - they bring you to the beginning of the line.
And a few other small tweaks. This probably should've been split across a couple commits, but too late for that now.
What this PR does / why we need it:
Which issue(s) this PR fixes
Special notes for your reviewer: