Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade JS dependencies #374

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Upgrade JS dependencies #374

wants to merge 1 commit into from

Conversation

ekacnet
Copy link

@ekacnet ekacnet commented Jan 14, 2024

Fix a bunch of depedencies pointed out by dependabot

@ekacnet
Copy link
Author

ekacnet commented Feb 16, 2024

@dcermak can this one be merged ?

Comment on lines +146 to +170
const restartLanguageServer = function (): Promise<void> {
return new Promise((resolve) => {
if (disposableClient) {
client.stop().then(() => {
disposableClient.dispose();
startLSPServer();
resolve();
});
} else {
startLSPServer();
resolve();
}
});
}

context.subscriptions.push(client.start());
var disposableRestart = commands.registerCommand('salt-lsp.restart', () => {
restartLanguageServer().then(() => {
window.showInformationMessage('Salt-lsp server restarted.');
});
});
context.subscriptions.push(disposableRestart);
await startLSPServer()
}

export function deactivate(): Thenable<void> {
return client ? client.stop() : Promise.resolve();
}
export function deactivate(): Thenable<void> { return client ? client.stop() : Promise.resolve(); }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please undo all the formatting changes in this file except for the actual change (which appears to me as this marked part)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants