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

Complie requires file with double quotes instead of single quotes #321

Merged
merged 1 commit into from May 19, 2021

Conversation

ghost
Copy link

@ghost ghost commented May 19, 2021

Motivation

Ever since Shopify/ruby-style-guide#238 the ruby style guide has enforced double quotes in all the Shopify repos that use it with their Rubocop integrations. Currently the generated "requires" file was using single quotes, making it so rubocop had to correct it any time it was regenerated.

Implementation

I simply switched the existing string to use escaped double quotes.

Tests

Edited the existing tests to expect this change

@ghost ghost marked this pull request as ready for review May 19, 2021 14:22
@KaanOzkan KaanOzkan requested a review from a team May 19, 2021 14:37
@RyanBrushett RyanBrushett merged commit f5abd4a into master May 19, 2021
@RyanBrushett RyanBrushett deleted the require-double-quote branch May 19, 2021 15:30
@shopify-shipit shopify-shipit bot temporarily deployed to production May 19, 2021 17:37 Inactive
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.

None yet

3 participants