Skip to content

Commit

Permalink
WEB-6755: There is better checking now...
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyd committed Jan 9, 2024
1 parent 516d081 commit 62d55f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/commands/video_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def upload

desc 'lint [RELEASE_FILE]', 'runs a selection of linters on the video course'
option :'release-file', type: :string, desc: 'Location of the release.yaml file'
method_option 'without-version': :boolean, aliases: '-e', default: false, desc: 'Run linting without git branch naming check'
method_option silent: :boolean, aliases: '-s', default: false, desc: 'Hide all output'
method_option :'without-version', type: :boolean, aliases: '-e', default: false, desc: 'Run linting without git branch naming check'
method_option :silent, type: :boolean, aliases: '-s', default: false, desc: 'Hide all output'
def lint
output = runner.lint_video_course(release_file: options['publish_file'], options:)
exit 1 unless output.validated || ENVIRONMENT == 'staging'
Expand Down

0 comments on commit 62d55f3

Please sign in to comment.