We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3220bde commit ddc2f50Copy full SHA for ddc2f50
1 file changed
src/release/validator.rs
@@ -156,7 +156,10 @@ impl<'a> ReleaseValidator<'a> {
156
.as_std_path()
157
.strip_prefix(self.ctx.workspace_root())
158
.unwrap_or_else(|_| crate_dir.as_std_path());
159
- let git_path = utils::path_to_git_format(relative_path);
+ let git_path = {
160
+ let path = utils::path_to_git_format(relative_path);
161
+ if path.is_empty() { ".".to_string() } else { path }
162
+ };
163
164
// Check for changes in this directory
165
let output = self
0 commit comments