Merge remote-tracking branch 'upstream/master' into default-token

This commit is contained in:
Caleb Maclennan 2021-03-21 10:12:40 +03:00
commit 05d11c9fe8
No known key found for this signature in database
GPG key ID: 63CC496475267693
5 changed files with 28 additions and 22 deletions

View file

@ -20,9 +20,9 @@ export interface Config {
export const releaseBody = (config: Config): string | undefined => {
return (
config.input_body ||
(config.input_body_path &&
readFileSync(config.input_body_path).toString("utf8"))
readFileSync(config.input_body_path).toString("utf8")) ||
config.input_body
);
};