fix: do not return InvalidVcsStatusRequest if no vcs was detected
This commit is contained in:
parent
620128e6fd
commit
8e2cbce9b0
1 changed files with 1 additions and 0 deletions
|
|
@ -832,6 +832,7 @@ pub fn request_vcs_status(self: *Self, from: tp.pid_ref) RequestError!void {
|
|||
if (self.status_request) |_| return;
|
||||
self.status_request = from.clone();
|
||||
},
|
||||
.failed => return,
|
||||
else => return error.InvalidVcsStatusRequest,
|
||||
},
|
||||
.running => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue