Skip to content

Commit a493459

Browse files
authored
Dont hard error on no services (#703)
It makes the error handling think it's a auth issue.
1 parent 45fd9af commit a493459

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/service.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ async fn link_command(args: LinkArgs) -> Result<()> {
120120
}
121121

122122
if services.is_empty() {
123-
bail!("No services found");
123+
println!("No services found");
124+
return Ok(());
124125
}
125126

126127
let service = if !services.is_empty() {

0 commit comments

Comments
 (0)