Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
bugfix-for-generic-update-param (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaozha authored Jun 23, 2020
1 parent 549c834 commit 44930fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/azgenerator/TemplateAzureCliCustom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function ConstructValuation(isGeneric: boolean, prefix: string, classNames: stri
if(value.startsWith("'") && value.endsWith("'")) {
left = prefix + "instance.";
} else {
str.push(prefix + "if " + paramName + " is not None:");
str.push(prefix + "if " + value + " is not None:");
left = prefix + " instance.";
}
for (var i = 1; i < classNames.length; ++i) {
Expand Down

0 comments on commit 44930fb

Please sign in to comment.