Skip to content

Commit f203463

Browse files
committed
remove logs
1 parent 91c2470 commit f203463

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

action.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,9 @@ const waitForDeploymentToStart = async ({
232232
sha,
233233
});
234234

235-
console.log('all deployments', deployments);
236-
console.log({ env, owner, repo, sha });
237-
238-
const deployment = deployments.data
239-
.sort((a, b) => new Date(b.created_at) - new Date(a.created_at))[0];
235+
const deployment = deployments.data.sort(
236+
(a, b) => new Date(b.created_at) - new Date(a.created_at)
237+
)[0];
240238

241239
if (deployment) {
242240
return deployment;
@@ -279,8 +277,6 @@ const waitForDeploymentToStart = async ({
279277
return deployment;
280278
}
281279

282-
console.log({ environment });
283-
284280
console.log(
285281
`Could not find any deployments for actor ${actorName}, retrying (attempt ${
286282
i + 1

dist/index.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,9 @@ const waitForDeploymentToStart = async ({
238238
sha,
239239
});
240240

241-
console.log('all deployments', deployments);
242-
console.log({ env, owner, repo, sha });
243-
244-
const deployment = deployments.data
245-
.sort((a, b) => new Date(b.created_at) - new Date(a.created_at))[0];
241+
const deployment = deployments.data.sort(
242+
(a, b) => new Date(b.created_at) - new Date(a.created_at)
243+
)[0];
246244

247245
if (deployment) {
248246
return deployment;
@@ -285,8 +283,6 @@ const waitForDeploymentToStart = async ({
285283
return deployment;
286284
}
287285

288-
console.log({ environment });
289-
290286
console.log(
291287
`Could not find any deployments for actor ${actorName}, retrying (attempt ${
292288
i + 1

0 commit comments

Comments
 (0)