Change trust_too_much message which was slightly ambiguous (#611)
Change trust_too_much message which was slightly ambiguous merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
parent
b17f271b74
commit
b03adf1dff
|
@ -19,7 +19,7 @@ class TrustTooMuchCheck : BaseAnalyzer
|
|||
private:
|
||||
|
||||
static immutable MESSAGE = "Trusting a whole scope is a bad idea, " ~
|
||||
"`@trusted` should only be attached to a single function";
|
||||
"`@trusted` should only be attached to the functions individually";
|
||||
static immutable string KEY = "dscanner.trust_too_much";
|
||||
|
||||
bool checkAtAttribute = true;
|
||||
|
|
Loading…
Reference in New Issue