Skip to content

Commit

Permalink
fix: debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Netail committed Mar 29, 2024
1 parent 6602b76 commit 474e4e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const run = async (): Promise<void> => {
if (rawDiscordURL) {
const isJSONArray = rawDiscordURL.startsWith('[');

debug(`Found Slack input ${isJSONArray ? '(Multiple)' : ''}`);
debug(`Found Discord input ${isJSONArray ? '(Multiple)' : ''}`);

discordURLs = isJSONArray
? parseJSONInput<string[]>('discord-url', rawDiscordURL)
Expand All @@ -30,7 +30,7 @@ const run = async (): Promise<void> => {
if (rawTeamsURL) {
const isJSONArray = rawTeamsURL.startsWith('[');

debug(`Found Slack input ${isJSONArray ? '(Multiple)' : ''}`);
debug(`Found Teams input ${isJSONArray ? '(Multiple)' : ''}`);

teamsURLs = isJSONArray
? parseJSONInput<string[]>('teams-url', rawTeamsURL)
Expand Down

0 comments on commit 474e4e4

Please sign in to comment.