Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcy committed Nov 19, 2024
1 parent d2f10af commit d9112c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"default": "true",
"markdownDescription": "Automatically check for new versions of the Buf CLI and prompt for installation."
},
"buf.linting.breakingAgainst.strategy": {
"buf.checks.breaking.againstStrategy": {
"order": 0,
"type": "string",
"enum": [
Expand All @@ -109,7 +109,7 @@
"default": "git",
"markdownDescription": "Controls how the `--against` file is chosen for breaking lints."
},
"buf.linting.breakingAgainst.gitRef": {
"buf.checks.breaking.againstGitRef": {
"order": 1,
"title": "Breaking Lint Against Git Ref",
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion src/binary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class Binary {
}

if (output.stderr.trim() !== "") {
return output.stderr.trim();
return new Error(output.stderr.trim());
} else {
return output.stdout.trim();
}
Expand Down
2 changes: 1 addition & 1 deletion src/buf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class Context extends vscode.Disposable {
transport: lsp.TransportKind.pipe,
args: [
'--debug', // This will get dumped into the output pane.
'--timeout', '10000000m',
'--timeout', '0',
'--log-format', 'text',
'beta', 'lsp',
],
Expand Down

0 comments on commit d9112c1

Please sign in to comment.