Fix prettier error

This commit is contained in:
Edwin Cheng 2019-03-31 21:21:14 +08:00
parent 6971c7f118
commit c894a3e19b
4 changed files with 31 additions and 22 deletions

View file

@ -134,8 +134,9 @@ export async function handleSingle(runnable: Runnable) {
* provide inline diagnostics; the user is met with a series of dialog boxes
* that, when accepted, allow us to `cargo install cargo-watch` and then run it.
*/
export async function interactivelyStartCargoWatch(context: vscode.ExtensionContext) {
export async function interactivelyStartCargoWatch(
context: vscode.ExtensionContext
) {
if (Server.config.enableCargoWatchOnStartup === 'disabled') {
return;
}
@ -195,7 +196,6 @@ export async function interactivelyStartCargoWatch(context: vscode.ExtensionCont
}
}
const validater = new CargoWatchProvider();
validater.activate(context.subscriptions);
validater.activate(context.subscriptions);
}