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

Run Dart 2.3.2 dartfmt #1683

Closed
wants to merge 1 commit into from
Closed

Run Dart 2.3.2 dartfmt #1683

wants to merge 1 commit into from

Conversation

mit-mit
Copy link
Member

@mit-mit mit-mit commented Jun 14, 2019

No description provided.

@googlebot googlebot added the cla: yes Contributor has signed the Contributor License Agreement label Jun 14, 2019
@mit-mit mit-mit requested a review from kwalrath June 14, 2019 12:53
@sfshaza2
Copy link
Collaborator

Of course, this PR primarily looks fine. The only possible issue, is that we often run dartfmt with a maximum line length of 70 (or so) to avoid having the example code wrap when displayed on the site. Are we sure that this was not going on here?

Otherwise, LGTM. :)

Copy link
Collaborator

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

Assuming that the line length wasn't intentionally shortened (as mentioned in my other comment), LGTM.

@mit-mit
Copy link
Member Author

mit-mit commented Jun 15, 2019

I ran it with the default line length. Is that not what we usual do?

@sfshaza2
Copy link
Collaborator

sfshaza2 commented Jun 15, 2019 via email

@johnpryan
Copy link
Contributor

Is this still necessary now that we've upgraded to 2.4?

@mit-mit
Copy link
Member Author

mit-mit commented Jun 27, 2019

Yes, see: https://travis-ci.org/dart-lang/site-www/jobs/551280797

But I think we can wait until @kwalrath is back to answer the line length question

@sfshaza2
Copy link
Collaborator

sfshaza2 commented Jun 27, 2019 via email

@kwalrath
Copy link
Contributor

kwalrath commented Jul 1, 2019

We don’t run dartfmt directly… instead, we use tool/dartfmt.sh. When I run that, I see only one diff. I’m looking into it now…

@kwalrath
Copy link
Contributor

kwalrath commented Jul 1, 2019

Only one file needs to change due to dartfmt. I’ve fixed that in #1717.

@kwalrath kwalrath closed this Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Contributor has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants