Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebonsignori committed Jul 4, 2023
1 parent 75be4ed commit 1578254
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/connectors/send-to-slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ async function sendToSlack(
notifications: Endpoints["GET /notifications"]["response"]["data"],
lastRunDate: Date
) {
core.info(`Sending ${notifications.length} notifications to Slack...`);
const sinceDate = dayjs(lastRunDate)
.tz(inputs.timezone)
.format(inputs.dateFormat);
Expand Down
1 change: 1 addition & 0 deletions src/connectors/send-to-webex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ async function sendToWebex(
notifications: Endpoints["GET /notifications"]["response"]["data"],
lastRunDate: Date
) {
core.info(`Sending ${notifications.length} notifications to Webex...`);
const sinceDate = dayjs(lastRunDate).tz(inputs.timezone).format(inputs.dateFormat);
// On rollup, send all notifications in one message body
if (inputs.rollupNotifications) {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { throttling } from "@octokit/plugin-throttling";
import { Endpoints } from "@octokit/types";
import { WebClient } from "@slack/web-api";
import Webex from "webex";
import { create, create as createArtifact } from "@actions/artifact";
import { create as createArtifact } from "@actions/artifact";
import fs from "fs";

import getInputs from "./lib/get-inputs";
Expand Down

0 comments on commit 1578254

Please sign in to comment.