Skip to content

Commit

Permalink
refactor(app): alter yesterday cmd to list all sheets if none specified
Browse files Browse the repository at this point in the history
  • Loading branch information
f3rno64 committed Feb 20, 2024
1 parent b3a9449 commit c1afacc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/commands/yesterday/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ const handler = (args: YesterdayCommandArgs) => {

if (!_isUndefined(inputSheets) && all) {
throw new Error('Cannot specify both --all and sheets')
} else if (_isUndefined(inputSheets) && !all) {
throw new Error('Must specify either --all or sheets')
}

const sheets =
Expand Down

0 comments on commit c1afacc

Please sign in to comment.