From c45b94e85784ae557af6f0c9ed348261f8b8f85a Mon Sep 17 00:00:00 2001 From: chradek Date: Fri, 20 Mar 2020 16:29:55 -0700 Subject: [PATCH] rename variable --- src/generators/clientContextFileGenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generators/clientContextFileGenerator.ts b/src/generators/clientContextFileGenerator.ts index 8bf1207f6ea6..be39f19c9555 100644 --- a/src/generators/clientContextFileGenerator.ts +++ b/src/generators/clientContextFileGenerator.ts @@ -246,8 +246,8 @@ function getRequiredParamChecks(requiredParameters: ParameterDetails[]) { } function getRequiredParamAssignments(requiredParameters: ParameterDetails[]) { - const blacklistClientParameters = ["credentials"]; + const disallowedClientParameters = ["credentials"]; return requiredParameters - .filter(({ name }) => !blacklistClientParameters.includes(name)) + .filter(({ name }) => !disallowedClientParameters.includes(name)) .map(({ name }) => `this.${name} = ${name};`); }