mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
parent
ea174f550d
commit
3d7f6dec00
|
@ -139,7 +139,7 @@ pub async fn service(
|
|||
],
|
||||
)
|
||||
.await?;
|
||||
ctx.log.result(format!("Service successfully installed! You can use `{} tunnel service log` to monitor it, and `code tunnel service uninstall` to remove it.", APPLICATION_NAME));
|
||||
ctx.log.result(format!("Service successfully installed! You can use `{} tunnel service log` to monitor it, and `{} tunnel service uninstall` to remove it.", APPLICATION_NAME, APPLICATION_NAME));
|
||||
}
|
||||
TunnelServiceSubCommands::Uninstall => {
|
||||
manager.unregister().await?;
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
use crate::{constants::{
|
||||
APPLICATION_NAME, CONTROL_PORT, DOCUMENTATION_URL, QUALITYLESS_PRODUCT_NAME,
|
||||
}, rpc::ResponseError};
|
||||
use crate::{
|
||||
constants::{APPLICATION_NAME, CONTROL_PORT, DOCUMENTATION_URL, QUALITYLESS_PRODUCT_NAME},
|
||||
rpc::ResponseError,
|
||||
};
|
||||
use std::fmt::Display;
|
||||
use thiserror::Error;
|
||||
|
||||
|
@ -343,7 +344,7 @@ pub struct ServiceAlreadyRegistered();
|
|||
|
||||
impl std::fmt::Display for ServiceAlreadyRegistered {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
write!(f, "Already registered the service. Run `code tunnel service uninstall` to unregister it first")
|
||||
write!(f, "Already registered the service. Run `{} tunnel service uninstall` to unregister it first", APPLICATION_NAME)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue