Skip to content

Commit e8c2ab7

Browse files
owen-mchubwriter
andauthored
Apply suggestions from code review from docs team
Co-authored-by: hubwriter <hubwriter@github.com>
1 parent 3173765 commit e8c2ab7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ql/src/InconsistentCode/WrappedErrorAlwaysNil.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
</example>
5050

5151
<references>
52-
<li>errors package - github.com/pkg/errors - pkg.go.dev: <a href="https://pkg.go.dev/github.com/pkg/errors#Wrap">errors.Wrap</a></li>
52+
<li>Go errors, github.com/pkg/errors: <a href="https://pkg.go.dev/github.com/pkg/errors#Wrap">errors.Wrap</a></li>
5353
</references>
5454
</qhelp>

ql/src/InconsistentCode/WrappedErrorAlwaysNil.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ where
6565
// }
6666
n = any(NilTestGuard ntg).getAGuardedNode()
6767
)
68-
select n, "The first argument to errors.Wrap is always nil"
68+
select n, "The first argument to 'errors.Wrap' is always nil"

0 commit comments

Comments
 (0)