Skip to content

Commit 45d5ed4

Browse files
committed
fix: linting
1 parent 905ea78 commit 45d5ed4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/commands/workflows/active.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export default class WorkflowsActive extends Command {
7878
}
7979
default: {
8080
this.log(`Invalid input ${args.value}`)
81+
return
8182
}
8283
}
8384
const pairs: api.KeyValuePair = {
@@ -93,8 +94,8 @@ export default class WorkflowsActive extends Command {
9394
client.setWorkflow(payload),
9495
withStandardErrors(
9596
{
96-
'201': () => {
97-
this.log(`Workflow property has been set to ${args.value}`)
97+
'204': () => {
98+
this.log(`Workflow has been set to ${args.value}`)
9899
},
99100
'403': ({ error }: api.ErrorResponse) => {
100101
this.log(chalk.red(`${chalk.bold('Error')}: ${error}`))

src/commands/workflows/list.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default class Workflows extends Command {
5555
},
5656
active: {
5757
header: 'Active',
58-
get: (row) => row.active === undefined ? true : row.active,
58+
get: (row) => (row.active === undefined ? true : row.active),
5959
},
6060
},
6161
{ printLine: this.log },

0 commit comments

Comments
 (0)