Skip to content

Commit

Permalink
chore: Prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Jul 29, 2024
1 parent 015aa75 commit 94ac502
Showing 1 changed file with 2 additions and 2 deletions.
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 94ac502

Please sign in to comment.