Skip to content

Commit 540bd77

Browse files
committed
fix: json stringify error
1 parent acf9946 commit 540bd77

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

dist/index.js

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/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ async function run(): Promise<void> {
1515
const api = new SquareCloudAPI(token);
1616
const application = await api.applications.get(id);
1717

18-
core.debug(`Application: ${JSON.stringify(application)}`);
18+
core.debug(`Application: ${JSON.stringify({ ...application, client: undefined, backup: undefined, deploys: undefined, files: undefined })}`);
19+
1920
if (application == undefined) {
2021
core.setFailed("Square Cloud returned undefined");
2122
return;

0 commit comments

Comments
 (0)