Skip to content

Commit 904bae3

Browse files
Copilotisra-fel
andauthored
Fix CS1016 error: Reorder breaking change attribute parameters to place positional args before named args (#1528)
* Initial plan * Fix CS1016 error by reordering breaking change attribute parameters Co-authored-by: isra-fel <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: isra-fel <[email protected]>
1 parent b25268f commit 904bae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell/cmdlets/class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2313,8 +2313,8 @@ export class CmdletClass extends Class {
23132313
parameters.push('""');
23142314
parameters.push(`"${breakingChange.cmdlet.deprecateByAzVersion}"`);
23152315
parameters.push(`"${breakingChange.cmdlet.deprecateByVersion}"`);
2316-
parameters.push(`ChangeDescription = "${breakingChange.cmdlet.changeDescription}"`);
23172316
if (breakingChange.cmdlet.changeInEfectByDate) parameters.push(`"${breakingChange.cmdlet.changeInEfectByDate}"`);
2317+
parameters.push(`ChangeDescription = "${breakingChange.cmdlet.changeDescription}"`);
23182318
return new Attribute(ClientRuntime.GenericBreakingChangeAttribute, { parameters: parameters });
23192319
} else {
23202320
// use CmdletBreakingChangeAttribute

0 commit comments

Comments
 (0)