We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2994f9 commit e351691Copy full SHA for e351691
src/extension.js
@@ -148,7 +148,7 @@ function getSelectedLines(editor) {
148
var anchorLineIndex = editor.selection.anchor.line + 1;
149
var activeLineIndex = editor.selection.active.line + 1;
150
151
- return [anchorLineIndex, activeLineIndex].sort();
+ return [anchorLineIndex, activeLineIndex].sort(function(a, b) { return a - b });
152
}
153
154
function getGitProviderLinkForRepo(cb) {
0 commit comments