Merge pull request #552 from github/deferinloop-kind

Add @kind to deferinloop.ql
This commit is contained in:
Chris Smowton
2021-07-19 11:17:26 +01:00
committed by GitHub

View File

@@ -3,6 +3,7 @@
* @description A deferred statement in a loop will not execute until the end of the function.
* This can lead to unintentionally holding resources open like file handles or database transactions.
* @id go/examples/deferinloop
* @kind problem
* @tags defer
* nesting
*/