Skip to content

Commit b301c40

Browse files
committed
update rules
1 parent f40f9ad commit b301c40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/rules.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ func withTimezoneUTC(m dsl.Matcher) {
468468
At(m["tz"])
469469
}
470470

471-
// workspaceActivity ensures that updating workspace activity is only done in the workspaceapps package.
471+
// workspaceActivity ensures that updating workspace activity is only done in the workspacestats package.
472472
//
473473
//nolint:unused,deadcode,varnamelen
474474
func workspaceActivity(m dsl.Matcher) {
@@ -481,9 +481,9 @@ func workspaceActivity(m dsl.Matcher) {
481481
`$_.InsertWorkspaceAgentStats($_, $_)`,
482482
`$_.InsertWorkspaceAppStats($_, $_)`,
483483
).Where(
484-
!m.File().PkgPath.Matches(`workspaceapps`) &&
484+
!m.File().PkgPath.Matches(`workspacestats`) &&
485485
!m.File().PkgPath.Matches(`dbauthz$`) &&
486486
!m.File().PkgPath.Matches(`dbgen$`) &&
487487
!m.File().Name.Matches(`_test\.go$`),
488-
).Report("Updating workspace activity should always be done in the workspaceapps package.")
488+
).Report("Updating workspace activity should always be done in the workspacestats package.")
489489
}

0 commit comments

Comments
 (0)