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

Correctly handle directory on rerun #5

Merged
merged 1 commit into from
May 17, 2024
Merged

Correctly handle directory on rerun #5

merged 1 commit into from
May 17, 2024

Conversation

CeleritasCelery
Copy link
Contributor

Currently rustic will override the default-directory to the workspace root after a compilation is finished. This enables it to correctly find the paths in error messages. But it also means that if you rerun a command it will rerun in the root crate instead of the original one.

This change adds a new variable to track the original directory and resets it when we rerun.

Currently rustic will override the default-directory to the workspace root after
a compilation is finished. This enables it to correctly find the paths in error
messages. But it also means that if you rerun a command it will rerun in the
root crate instead of the original one.

This change adds a new variable to track the original directory and resets it
when we rerun.
@CeleritasCelery CeleritasCelery merged commit 63ce443 into main May 17, 2024
4 checks passed
@CeleritasCelery CeleritasCelery deleted the rerun-fix branch May 17, 2024 19:07
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.

1 participant