Skip to content

Commit

Permalink
nullish
Browse files Browse the repository at this point in the history
  • Loading branch information
jackall3n committed Jan 23, 2024
1 parent a163006 commit 3147123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function input(name: Input, required = true, defaultValue = "") {
required,
});

return value ?? defaultValue;
return value || defaultValue;
}

export function createMessage(
Expand Down

0 comments on commit 3147123

Please sign in to comment.