Skip to content

Commit

Permalink
Fix here mension false
Browse files Browse the repository at this point in the history
  • Loading branch information
jun3453 committed May 27, 2020
1 parent 737efb9 commit 6f151ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SlackPrNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var authorName = process.env.PULL_REQUEST_AUTHOR_NAME;
var authorIconUrl = process.env.PULL_REQUEST_AUTHOR_ICON_URL;
var compareBranchName = process.env.PULL_REQUEST_COMPARE_BRANCH_NAME;
var baseBranchName = process.env.PULL_REQUEST_BASE_BRANCH_NAME;
var sendHereMention = process.env.IS_SEND_HERE_MENTION ? "<!here>\n" : "";
var sendHereMention = process.env.IS_SEND_HERE_MENTION.toLowerCase() === "true" ? "<!here>\n" : "";
var message = {
blocks: [
{
Expand Down
2 changes: 1 addition & 1 deletion SlackPrNotification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const authorIconUrl: string = process.env.PULL_REQUEST_AUTHOR_ICON_URL;
const compareBranchName: string = process.env.PULL_REQUEST_COMPARE_BRANCH_NAME;
const baseBranchName: string = process.env.PULL_REQUEST_BASE_BRANCH_NAME;

const sendHereMention: string = process.env.IS_SEND_HERE_MENTION ? "<!here>\n" : "";
const sendHereMention: string = process.env.IS_SEND_HERE_MENTION.toLowerCase() === "true" ? "<!here>\n" : "";

const message: Object = {
blocks: [
Expand Down

0 comments on commit 6f151ce

Please sign in to comment.