Skip to content

Commit

Permalink
[dev env] Update prettier to 3.2.5
Browse files Browse the repository at this point in the history
This should hopefully help Nix users (cc #684)
  • Loading branch information
ejgallego committed Apr 29, 2024
1 parent 0d0273e commit 8812759
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion editor/code/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion editor/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
"@types/vscode": "^1.75.0",
"@types/vscode-webview": "^1.57.2",
"esbuild": "^0.16.17",
"prettier": "^3.0.3",
"prettier": "^3.2.5",
"typescript": "^5.2.2",
"@vscode/vsce": "^2.21.1"
},
Expand Down
8 changes: 4 additions & 4 deletions editor/code/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ export function activateCoqLSP(
callKind == TextEditorSelectionChangeKind.Mouse
? 1
: callKind == TextEditorSelectionChangeKind.Keyboard
? 2
: callKind
? callKind
: 3;
? 2
: callKind
? callKind
: 3;
// When evt.kind is null, it often means it was due to an
// edit, we want to re-trigger in that case

Expand Down
4 changes: 2 additions & 2 deletions editor/code/views/info/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export function Message({
typeof message === "string"
? message
: typeof message === "object" && "text" in message
? message.text
: message;
? message.text
: message;

return (
<li key={key} className={"coq-message"} ref={ref}>
Expand Down

0 comments on commit 8812759

Please sign in to comment.