Skip to content

Commit

Permalink
test: 🔊 print repo input
Browse files Browse the repository at this point in the history
  • Loading branch information
meisZWFLZ authored Feb 2, 2024
1 parent 5d403a6 commit b8fc2a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const repoInputRegex = /[^\/\n\s\t]+\/[^\/\n\s\t]+/
function getRepositoryIdentifier(): RepositoryIdentifier {
const repo: { owner: string; repo: string } = { owner: '', repo: '' }
const repoInput = core.getInput('repo')


Check failure on line 14 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Delete `··`
core.setOutput('repo', repoInput);

Check failure on line 15 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Delete `;`

Check failure on line 15 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Extra semicolon

Check failure on line 16 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Delete `··`
if (repoInput.match(repoInputRegex)) {
const parsedRepoInput = repoInput.split('/')
repo.owner = parsedRepoInput[0]
Expand Down

0 comments on commit b8fc2a9

Please sign in to comment.