Skip to content

Commit 157cd81

Browse files
author
Irene Alvarado
committed
Log header
1 parent 0b5a9cd commit 157cd81

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function fetchHTTP(config) {
4242
}
4343
};
4444
const headers = config.authorization ? auth : {};
45-
core.info(headers.toString());
45+
core.info(JSON.stringify(headers));
4646
try {
4747
const response = await axios_1.default.get(config.http_url, {
4848
method: 'get',

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/backends/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default async function fetchHTTP(config: HTTPConfig): Promise<string> {
1313
}
1414
};
1515
const headers = config.authorization ? auth : {}
16-
core.info(headers.toString());
16+
core.info(JSON.stringify(headers));
1717

1818
try {
1919
const response = await axios.get(config.http_url, {

0 commit comments

Comments
 (0)