Skip to content

Commit

Permalink
chore(cli): fix docs (#32999)
Browse files Browse the repository at this point in the history
Caused much confusion as to whether the docs or the code was wrong. 99% sure its the docs. Will make the same changes in toolkit in a separate PR.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
kaizencc authored Jan 17, 2025
1 parent 4285f1e commit 4a76fee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/cdk-toolkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export class CdkToolkit {
);
}

// Go around through the 'while' loop again but switch rollback to false.
// Go around through the 'while' loop again but switch rollback to true.
rollback = true;
break;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk/test/cdk-toolkit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ describe('synth', () => {

const deployments = new Deployments({ sdkProvider: new MockSdkProvider() });

// Rollback might be called -- just don't do nothing.
// Rollback might be called -- just don't do anything.
const mockRollbackStack = jest.spyOn(deployments, 'rollbackStack').mockResolvedValue({});

const mockedDeployStack = jest
Expand Down

0 comments on commit 4a76fee

Please sign in to comment.