Skip to content

Commit

Permalink
Merge pull request #2375 from guardian/dependabot/npm_and_yarn/pretti…
Browse files Browse the repository at this point in the history
…er-3.3.3

chore(deps): bump prettier from 3.3.2 to 3.3.3
  • Loading branch information
akash1810 authored Jul 29, 2024
2 parents 380e4ba + 94ac502 commit 005da29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"eslint-plugin-custom-rules": "file:tools/eslint",
"gh-pages": "^6.1.1",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"serve": "^14.2.3",
"ts-jest": "^29.2.2",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions src/riff-raff-yaml-file/deployments/cloudformation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ export function addAmiParametersToCloudFormationDeployment(
}

const Recipe = typeof imageRecipe === "string" ? imageRecipe : imageRecipe.Recipe;
const AmigoStage = typeof imageRecipe === "string" ? "PROD" : imageRecipe.AmigoStage ?? "PROD";
const AmigoStage = typeof imageRecipe === "string" ? "PROD" : (imageRecipe.AmigoStage ?? "PROD");

// In YAML `true` is a Boolean. Riff-Raff expects a String here, so call `toString` to make it `'true'`.
const Encrypted = (typeof imageRecipe === "string" ? true : imageRecipe.Encrypted ?? true).toString();
const Encrypted = (typeof imageRecipe === "string" ? true : (imageRecipe.Encrypted ?? true)).toString();

return {
...acc,
Expand Down

0 comments on commit 005da29

Please sign in to comment.