dont reformat json

This commit is contained in:
Thomas Gorham 2024-02-02 13:06:29 -08:00
parent 7b740943db
commit 9f8fc4fd81
3 changed files with 6 additions and 6 deletions

4
dist/post_run/index.js generated vendored
View file

@ -90904,8 +90904,8 @@ const printOutputAndForwardJSON = (s) => {
core.info(line);
}
try {
const obj = JSON.parse(line);
core.setOutput("JSON", JSON.stringify(obj, null, 2));
JSON.parse(line);
core.setOutput("JSON", line);
}
catch (err) {
core.info(line);

4
dist/run/index.js generated vendored
View file

@ -90904,8 +90904,8 @@ const printOutputAndForwardJSON = (s) => {
core.info(line);
}
try {
const obj = JSON.parse(line);
core.setOutput("JSON", JSON.stringify(obj, null, 2));
JSON.parse(line);
core.setOutput("JSON", line);
}
catch (err) {
core.info(line);

View file

@ -111,8 +111,8 @@ const printOutputAndForwardJSON = (s: string): void => {
}
try {
const obj = JSON.parse(line)
core.setOutput("JSON", JSON.stringify(obj, null, 2))
JSON.parse(line)
core.setOutput("JSON", line)
} catch (err) {
core.info(line)
}