diff --git a/ql/src/change-notes/2022-02-10-wrapped-error-always-nil.md b/ql/src/change-notes/2022-02-10-wrapped-error-always-nil.md new file mode 100644 index 00000000..f6f9e6e4 --- /dev/null +++ b/ql/src/change-notes/2022-02-10-wrapped-error-always-nil.md @@ -0,0 +1,4 @@ +--- +category: newQuery +--- +* Added a new query, `go/unexpected-nil-value`, to finds calls to `Wrap` from `pkg/errors` where the error argument is always nil.