Skip to content

Commit

Permalink
fix: add debug message for input arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed Mar 26, 2024
1 parent 2a78e5a commit aef1d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export function matchGitArgs(string: string) {
* If both fail, it returns an array containing the input value as its only element
*/
export function parseInputArray(input: string): string[] {
core.debug(`Parsing input array: ${input}`);
try {
const json = JSON.parse(input);
if (json && Array.isArray(json) && json.every(e => typeof e === 'string')) {
Expand Down

0 comments on commit aef1d0d

Please sign in to comment.