Skip to content

Commit 816fb1a

Browse files
committed
fix
1 parent 6f7bbf1 commit 816fb1a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

private/buf/buflsp/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ const (
2828
// - "git". Use a particular Git revision to find the against file.
2929
//
3030
// - "disk". Use the last-saved value on disk as the against file.
31-
ConfigBreakingStrategy = "buf.check.breaking.againstStrategy"
31+
ConfigBreakingStrategy = "buf.checks.breaking.againstStrategy"
3232
// The Git revision to use for calculating the --against input for a
3333
// breaking check when using the "git" strategy.
34-
ConfigBreakingGitRef = "buf.check.breaking.againstGitRef"
34+
ConfigBreakingGitRef = "buf.checks.breaking.againstGitRef"
3535
)
3636

3737
const (

private/buf/buflsp/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func (s *server) Formatting(
264264
}
265265
}
266266
if errorCount > 0 {
267-
return nil, fmt.Errorf("cannot format file %q, %v error(s) found.", file.uri.Filename(), errorCount)
267+
return nil, fmt.Errorf("cannot format file %q, %v error(s) found", file.uri.Filename(), errorCount)
268268
}
269269

270270
// Currently we have no way to honor any of the parameters.

0 commit comments

Comments
 (0)