Skip to content

Commit

Permalink
style: remove additional undefined chaining after an initial definito…
Browse files Browse the repository at this point in the history
…n check
  • Loading branch information
zimeg committed Oct 3, 2024
1 parent bc887ca commit 90d5d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class Client {
config.core.setOutput("channel_id", response.channel);
}
if (response.message?.thread_ts) {
config.core.setOutput("thread_ts", response.message?.thread_ts);
config.core.setOutput("thread_ts", response.message.thread_ts);
}
if (response.ts) {
config.core.setOutput("ts", response.ts);
Expand Down

0 comments on commit 90d5d06

Please sign in to comment.