Skip to content

Run code formatter on Mix.UmbrellaTest #6740

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

Closed
wants to merge 1 commit into from
Closed

Run code formatter on Mix.UmbrellaTest #6740

wants to merge 1 commit into from

Conversation

michaelfich
Copy link
Contributor

Formatting file lib/mix/test/mix/umbrella_test.exs as per #6643.

@michaelfich michaelfich changed the title Format umbrella_test.exs Run code formatter on umbrella_test.exs Oct 9, 2017

ensure_touched(
"_build/dev/lib/foo/ebin/Elixir.Foo.beam",
File.stat!("_build/dev/lib/bar/consolidated/.compile.protocols").mtime
Copy link
Member

Choose a reason for hiding this comment

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

Can you please move the computation of the mtime to the previous line? Something like this:

mtime = File.stat!("_build/dev/lib/bar/consolidated/.compile.protocols").mtime
ensure_touched("_build/dev/lib/foo/ebin/Elixir.Foo.beam", mtime)

Similar changes should be done through this file, thank you!

@josevalim
Copy link
Member

Ping. :)

@michaelfich
Copy link
Contributor Author

@josevalim I'll be posting updates for this one later tonight :)

@michaelfich michaelfich changed the title Run code formatter on umbrella_test.exs Run code formatter on Mix.UmbrellaTest Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants