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

Add .rb to temp files passed to rubocop #1685

Merged
merged 1 commit into from
May 29, 2017
Merged

Add .rb to temp files passed to rubocop #1685

merged 1 commit into from
May 29, 2017

Conversation

swhitt
Copy link
Contributor

@swhitt swhitt commented May 28, 2017

What does this implement/fix? Explain your changes.

Rubocop was excluding files passed to it without a proper extension even if
they are passed as command line parameters. This adds a .rb to the filename
used for the temp files so they are always detected.

Does this close any currently open issues?

#1652 and #1653 (they are duplicates).

Any other comments?

Examples don't need to change, should be completely transparent.

Checklist

Check all those that are applicable and complete.

  • Merged with latest master branch
  • Regenerate documentation with npm run docs
  • Add change details to CHANGELOG.md under "Next" section
  • Added examples for testing to examples/ directory
  • Travis CI passes (Mac support)
  • AppVeyor passes (Windows support)

Fixes #1652 and #1653. Rubocop is excluding files passed to it even if they are passed as command line parameters.
@Glavin001 Glavin001 self-requested a review May 29, 2017 00:58
@Glavin001 Glavin001 self-assigned this May 29, 2017
@Glavin001 Glavin001 added the bug label May 29, 2017
@Glavin001 Glavin001 merged commit 3001d31 into Glavin001:master May 29, 2017
@Glavin001
Copy link
Owner

Thank you for contributing!

@Glavin001
Copy link
Owner

Published to v0.30.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants