Skip to content

Commit f4dc34d

Browse files
committed
cleanup
1 parent 2c1c4aa commit f4dc34d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/scripts/slack-release-testing.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ async function publishReleaseTestingStatus(release) {
333333

334334
for (const team of teamResults) {
335335
let slackHandlePart = await fmtSlackHandle(team);
336-
console.log(`Team: ${team.team}, Slack Handle Part: ${slackHandlePart}`);
337336
const releaseBlockers = await getReleaseBlockers(release, team.team);
338337
//Accumulate the release blocker count
339338
releaseBlockerCount += releaseBlockers.count;
@@ -352,7 +351,6 @@ async function publishReleaseTestingStatus(release) {
352351

353352

354353
try {
355-
// Use the `chat.postMessage` method to send a message to the channel
356354
const response = await slackClient.chat.postMessage({
357355
channel: channel,
358356
text: slackMessage,
@@ -361,6 +359,7 @@ async function publishReleaseTestingStatus(release) {
361359
});
362360

363361
console.log(`Message successfully sent to channel ${channel} for release ${release.SemanticVersion} on platform ${release.Platform}.`);
362+
364363
} catch (error) {
365364
console.error('API error:', error);
366365
throw error;
@@ -381,8 +380,8 @@ async function publishReleasesTestingStatus(activeReleases) {
381380
}
382381

383382
async function main() {
384-
//REAL SHEET
385-
const documentId = process.env.GOOG_DOCUMENT_ID; // Use the environment variable
383+
384+
const documentId = process.env.GOOG_DOCUMENT_ID;
386385

387386
if (!documentId) {
388387
console.error("Document ID is not set. Please set the GOOG_DOCUMENT_ID environment variable.");

0 commit comments

Comments
 (0)