Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Zhe Jiet authored and Chang Zhe Jiet committed Mar 14, 2024
1 parent f857c13 commit 37cdba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/Resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Resource extends Block {
* @param provisioners provisioners
*/
constructor(type: string, name: string, args?: TerraformArgs, provisioners?: Provisioner[]) {
super('resource', [type, name], args || {}, provisioners);
super('resource', [type, name], args ?? {}, provisioners);

this.type = type;
this.name = name;
Expand Down

0 comments on commit 37cdba4

Please sign in to comment.