mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 22:50:04 +00:00
Fix null handling, covered by integration tests
`core.getInput()` always returns a string, so testing for 'not null' is always true. This then leads to previews set to an array with a single empty string, breaking accept-header output. Updated eslint rules should help avoid this issue in future, and new integration tests verify that the github client configuration now reflects the intended configuration options.
This commit is contained in:
parent
36d245c808
commit
454e5d7e69
6 changed files with 1523 additions and 1323 deletions
2616
dist/index.js
vendored
2616
dist/index.js
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue