Skip to content

Commit

Permalink
chore: func tests script cleanup adding console output to show what s…
Browse files Browse the repository at this point in the history
…kill id is getting deleted before calling smapi
  • Loading branch information
Mario Doiron committed May 18, 2023
1 parent c37476f commit 18e1deb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ask-clean-up.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ const cleanUp = async () => {

// not using promise all to avoid throttling
for (const skillId of skillIds) {
console.log(`Deleting skillid: ${skillId}`);
await client.deleteSkillV1(skillId);
console.log(`removed skill with id ${skillId}`);
console.log(` > removed skillid: ${skillId}`);
await new Promise(r => setTimeout(r, 1000));
}
console.log(`removed # skill(s) ${skillIds.length}`);
Expand Down

0 comments on commit 18e1deb

Please sign in to comment.