mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-11 12:37:16 +00:00
Compare commits
1 Commits
0f28223e02
...
wiinci-pat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ddccd1e4c0 |
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
@@ -5068,7 +5068,7 @@ async function getResponseData(response) {
|
||||
if (/application\/json/.test(contentType)) {
|
||||
return response.json().catch(() => response.text()).catch(() => "");
|
||||
}
|
||||
if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
|
||||
if (!contentType || /^(text\/|charset=utf-8)$/.test(contentType)) {
|
||||
return response.text();
|
||||
}
|
||||
return getBufferResponse(response);
|
||||
@@ -31286,4 +31286,4 @@ module.exports = parseParams
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=index.js.map
|
||||
//# sourceMappingURL=index.js.map
|
||||
|
||||
Reference in New Issue
Block a user