diff --git a/src/cli/baseProgram.ts b/src/cli/baseProgram.ts index bf33a92b1b..b8b6248d05 100644 --- a/src/cli/baseProgram.ts +++ b/src/cli/baseProgram.ts @@ -69,7 +69,7 @@ export abstract class BaseProgram { protected getMessage(response: Response) { const message = (response.data as MessageResponse); - if (process.env.BW_RAW === 'true' && message.raw != null) { + if (process.env.BW_RAW === 'true') { return message.raw; }