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

Infering migration language #391

Merged
merged 3 commits into from
Jan 28, 2019
Merged

Infering migration language #391

merged 3 commits into from
Jan 28, 2019

Conversation

dolezel
Copy link
Contributor

@dolezel dolezel commented Jan 28, 2019

Fixes #379

@dolezel dolezel requested a review from roman-kaspar January 28, 2019 11:45
Copy link

@roman-kaspar roman-kaspar left a comment

Choose a reason for hiding this comment

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

otherwise LGTM

lib/migration.js Outdated
const filter = new RegExp(`^(${ignorePattern})$`); // eslint-disable-line security/detect-non-literal-regexp
return files
.filter(i => i && !filter.test(i))
.sort((f1, f2) =>

Choose a reason for hiding this comment

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

how exactly is this comparison function different from the default one?
IMO this does the same as simple .sort().

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍
I had probably fog in front of my eyes when I originally wrote it :)

@dolezel dolezel merged commit 7993030 into master Jan 28, 2019
@dolezel dolezel deleted the infer_language branch January 28, 2019 14:53
@Shinigami92
Copy link
Collaborator

Cool, thanks :)

@Cretezy
Copy link
Contributor

Cretezy commented Feb 21, 2019

This seems to have caused #399

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.

4 participants