Skip to content

Commit

Permalink
changed max warning
Browse files Browse the repository at this point in the history
  • Loading branch information
plxity committed Dec 12, 2024
1 parent 02dd841 commit 02c31ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/src/cli/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ export default class ActionCommand {
}
const data: ListActionsV2Data = {
query: {
apps: apps.join(","),
...(tags.length && { tags: tags.join(",") }),
...(limit && { limit }),
...(enabled && { showEnabledOnly: enabled }),
...(useCase && { useCase }),
apps: apps.join(","),
...(tags.length && { tags: tags.join(",") }),
...(limit && { limit }),
...(enabled && { showEnabledOnly: enabled }),
...(useCase && { useCase }),
},
};
try {
Expand All @@ -66,7 +66,7 @@ export default class ActionCommand {
// render list
const actions = response.data?.items || [];
actions.forEach((action) => console.log(action.name));

Check warning on line 68 in js/src/cli/actions.ts

View workflow job for this annotation

GitHub Actions / lint-and-prettify

Unexpected console statement

Check warning on line 68 in js/src/cli/actions.ts

View workflow job for this annotation

GitHub Actions / lint-and-prettify

Unexpected console statement
} catch (error ) {
} catch (error) {
console.log(chalk.red((error as Error)?.message));

Check warning on line 70 in js/src/cli/actions.ts

View workflow job for this annotation

GitHub Actions / lint-and-prettify

Unexpected console statement

Check warning on line 70 in js/src/cli/actions.ts

View workflow job for this annotation

GitHub Actions / lint-and-prettify

Unexpected console statement
return;
}
Expand Down

0 comments on commit 02c31ec

Please sign in to comment.