Skip to content

Commit

Permalink
chore: self mutation
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions <[email protected]>
  • Loading branch information
github-actions committed Feb 13, 2025
1 parent a9de83a commit 1d5b35a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion API.md

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

5 changes: 4 additions & 1 deletion src/SopsSecret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ export class SopsSecret extends Construct implements ISecret {
region: this.stack.region,
};

let resourceType = props.sopsFileFormat == "binary" ? ResourceType.SECRET_RAW : ResourceType.SECRET;
let resourceType =
props.sopsFileFormat == 'binary'
? ResourceType.SECRET_RAW
: ResourceType.SECRET;
if (props.rawOutput === RawOutput.BINARY) {
resourceType = ResourceType.SECRET_BINARY;
}
Expand Down

0 comments on commit 1d5b35a

Please sign in to comment.