From e8c2ab745e6912a06cedfd9a13d96571d4eec2f7 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> Date: Mon, 21 Feb 2022 13:19:47 +0000 Subject: [PATCH] Apply suggestions from code review from docs team Co-authored-by: hubwriter --- ql/src/InconsistentCode/WrappedErrorAlwaysNil.qhelp | 2 +- ql/src/InconsistentCode/WrappedErrorAlwaysNil.ql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ql/src/InconsistentCode/WrappedErrorAlwaysNil.qhelp b/ql/src/InconsistentCode/WrappedErrorAlwaysNil.qhelp index 988edc8c667..9fe00b2ab86 100644 --- a/ql/src/InconsistentCode/WrappedErrorAlwaysNil.qhelp +++ b/ql/src/InconsistentCode/WrappedErrorAlwaysNil.qhelp @@ -49,6 +49,6 @@ -
  • errors package - github.com/pkg/errors - pkg.go.dev: errors.Wrap
  • +
  • Go errors, github.com/pkg/errors: errors.Wrap
  • diff --git a/ql/src/InconsistentCode/WrappedErrorAlwaysNil.ql b/ql/src/InconsistentCode/WrappedErrorAlwaysNil.ql index 58fedc48c8a..ebc11284cd9 100644 --- a/ql/src/InconsistentCode/WrappedErrorAlwaysNil.ql +++ b/ql/src/InconsistentCode/WrappedErrorAlwaysNil.ql @@ -65,4 +65,4 @@ where // } n = any(NilTestGuard ntg).getAGuardedNode() ) -select n, "The first argument to errors.Wrap is always nil" +select n, "The first argument to 'errors.Wrap' is always nil"