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

Refactor to improve tests #37

Merged
merged 10 commits into from
Mar 24, 2022
2 changes: 0 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,6 @@ export function configureUnifiedLanguageServer(
connection.onDocumentFormatting(async (event) => {
const document = documents.get(event.textDocument.uri)

// `vscode-languageserver` crashes for commands to format unopen documents.
/* c8 ignore next 3 */
remcohaszing marked this conversation as resolved.
Show resolved Hide resolved
if (!document) {
return
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
"devDependencies": {
"@types/tape": "^4.0.0",
"c8": "^7.0.0",
"execa": "^6.0.0",
"prettier": "^2.0.0",
"remark-cli": "^10.0.0",
"remark-preset-wooorm": "^9.0.0",
"tape": "^5.0.0",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"unified": "^10.0.0",
"vscode-jsonrpc": "^6.0.0",
"xo": "^0.47.0"
},
"scripts": {
Expand Down
Loading