Skip to content

Commit

Permalink
Fix check types
Browse files Browse the repository at this point in the history
  • Loading branch information
academo committed Jul 27, 2021
1 parent bc3c802 commit 62c64eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
help="Runs Typescript types check (if relevant)",
is_flag=True,
)
def check(skip_tests, check_types, skip_stylescheck):
def check(skip_tests, types, skip_stylescheck):

modified = get_modified_files()

Expand Down Expand Up @@ -57,7 +57,7 @@ def check(skip_tests, check_types, skip_stylescheck):
fails.append("Stylelint")

# types check
if check_types and len(configs) > 0:
if types and len(configs) > 0:
click.echo(colored(">> Finding tsconfig.json", "yellow"))
for config in configs:
tsconfig = os.path.join(config, "tsconfig.json")
Expand Down

0 comments on commit 62c64eb

Please sign in to comment.