Skip to content

Commit

Permalink
Log header
Browse files Browse the repository at this point in the history
  • Loading branch information
Irene Alvarado committed May 28, 2021
1 parent 0b5a9cd commit 157cd81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function fetchHTTP(config) {
}
};
const headers = config.authorization ? auth : {};
core.info(headers.toString());
core.info(JSON.stringify(headers));
try {
const response = await axios_1.default.get(config.http_url, {
method: 'get',
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/backends/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default async function fetchHTTP(config: HTTPConfig): Promise<string> {
}
};
const headers = config.authorization ? auth : {}
core.info(headers.toString());
core.info(JSON.stringify(headers));

try {
const response = await axios.get(config.http_url, {
Expand Down

0 comments on commit 157cd81

Please sign in to comment.