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

autocomplete: parse repositories from local storage as json #981

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

campersau
Copy link
Collaborator

also fix labels on windows

The repositories were already parsed as json in app.js

.map(function(value) {
var index = value.lastIndexOf("/");
if (index == -1) {
index = value.lastIndexOf("\\");
Copy link
Collaborator

Choose a reason for hiding this comment

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

You could use ungit.config.fileSeparator instead of these if statements

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

@jung-kim jung-kim merged commit e73e7d9 into FredrikNoren:master Oct 26, 2017
@campersau campersau deleted the repository_autocomplete branch October 26, 2017 06:33
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.

2 participants