@aws-cdk-testing/cli-integ 3.12.1 → 3.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk-testing/cli-integ",
3
- "version": "3.12.1",
3
+ "version": "3.12.2",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -39,7 +39,7 @@
39
39
  "organization": true
40
40
  },
41
41
  "devDependencies": {
42
- "@aws-cdk/toolkit-lib": "1.1.2",
42
+ "@aws-cdk/toolkit-lib": "1.2.0",
43
43
  "@aws-cdk/yarn-cling": "0.0.0",
44
44
  "@cdklabs/eslint-plugin": "^1.3.2",
45
45
  "@stylistic/eslint-plugin": "^3",
@@ -115,7 +115,7 @@
115
115
  "publishConfig": {
116
116
  "access": "public"
117
117
  },
118
- "version": "3.12.1",
118
+ "version": "3.12.2",
119
119
  "types": "lib/index.d.ts",
120
120
  "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
121
121
  }
@@ -453,8 +453,7 @@ class LambdaStack extends cdk.Stack {
453
453
  constructor(parent, id, props) {
454
454
  // sometimes we need to specify the custom bootstrap bucket to use
455
455
  // see the 'upgrade legacy bootstrap stack' test
456
- const useLegacy = [true, 'true'].includes(parent.node.tryGetContext('legacySynth'));
457
- const synthesizer = useLegacy ?
456
+ const synthesizer = parent.node.tryGetContext('legacySynth') === 'true' ?
458
457
  new LegacyStackSynthesizer({
459
458
  fileAssetsBucketName: parent.node.tryGetContext('bootstrapBucket'),
460
459
  })
@@ -478,8 +477,7 @@ class LambdaStack extends cdk.Stack {
478
477
 
479
478
  class DriftableStack extends cdk.Stack {
480
479
  constructor(parent, id, props) {
481
- const useLegacy = [true, 'true'].includes(parent.node.tryGetContext('legacySynth'));
482
- const synthesizer = useLegacy ?
480
+ const synthesizer = parent.node.tryGetContext('legacySynth') === 'true' ?
483
481
  new LegacyStackSynthesizer({
484
482
  fileAssetsBucketName: parent.node.tryGetContext('bootstrapBucket'),
485
483
  })