Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chradek committed Mar 20, 2020
1 parent 895c6b1 commit c45b94e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generators/clientContextFileGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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};`);
}

0 comments on commit c45b94e

Please sign in to comment.