Skip to content

Conversation

strangelittlemonkey
Copy link
Contributor

  • Include a missing use for a referenced type

  • Add a missing step to do as is done on the FreeBSD code, which should be the same on this step as for DragonFly BSD

  • Go against what clippy says for the sake of not actually crashing if an audit of packages fails. Absent this change, status_checked() will actually cause the run to crash at that step rather than say that that specific step failed and continue, which is not the expected behavior.

Standards checklist:

  • [ X] The PR title is descriptive.
  • I have read CONTRIBUTING.md
  • [X ] The code compiles (cargo build)
  • [X ] The code passes rustfmt (cargo fmt)
  • The code passes clippy (cargo clippy)
  • [ X] The code passes tests (cargo test)
  • [ X] Optional: I have tested the code myself

For new steps

  • Optional: Topgrade skips this step where needed
  • Optional: The --dry-run option works with this step
  • Optional: The --yes option works with this step if it is supported by
    the underlying command

If you developed a feature or a bug fix for someone else and you do not have the
means to test it, please tag this person here.

* Include a missing use for a referenced type

* Add a missing step to do as is done on the FreeBSD code, which
  should be the same on this step as for DragonFly BSD

* Go against what clippy says for the sake of not actually crashing if
  an audit of packages fails. Absent this change, status_checked()
  will actually cause the run to crash at that step rather than say
  that that specific step failed and continue, which is not the
  expected behavior.
@SteveLauC
Copy link
Member

Thanks for doing this!

Go against what clippy says for the sake of not actually crashing if an audit of packages fails.

If we get a clippy warning, and it is ignorable, we can use #[allow()] to silence it :)

@strangelittlemonkey
Copy link
Contributor Author

Thanks for doing this!

Go against what clippy says for the sake of not actually crashing if an audit of packages fails.

If we get a clippy warning, and it is ignorable, we can use #[allow()] to silence it :)

Are you asking me to write an allow right above the line in my commit?

@SteveLauC
Copy link
Member

write an allow right above the line in my commit

Yep, that would silence it :)

@SteveLauC
Copy link
Member

Thanks!

@SteveLauC SteveLauC merged commit 1f6baef into topgrade-rs:main Oct 8, 2023
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.

2 participants