-
Notifications
You must be signed in to change notification settings - Fork 543
make date-check more easy to use #1428
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than removing this functionality altogether, can you make root_dir
using CARGO_MANIFEST_PATH or something like that? Or use unwrap_or
instead of unwrap?
One could not run it like the following, for the would be a panic: cargo run --manifest-path ci/date-check/Cargo.toml . Also, remove the need to specify argument, in which case, current_dir is assumed.
thanks for the suggestion... didn't notice I made some things less pretty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
One could not run it like the following, for the would be a panic: