Skip to content

Commit

Permalink
update CI helper (#80)
Browse files Browse the repository at this point in the history
* update CI helper

* revert changes
  • Loading branch information
MichaelStott authored Feb 26, 2024
1 parent 1864f4a commit 21ba6f3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scripts/ci_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,15 @@ def code():

@web.command("has-changed")
def changed_web():
helper = CIHelper()
click.echo(helper.dir_changed("web/"))
click.echo(CIHelper().dir_changed("web/"))

@code.command("has-changed")
def changed_code():
helper = CIHelper()
click.echo(helper.dir_changed("code/"))
click.echo(CIHelper().dir_changed("code/"))

@code.command("ls")
def list_pulumi():
helper = CIHelper()
click.echo(helper.get_pulumi_projects())
click.echo(CIHelper().get_pulumi_projects())

if __name__ == "__main__":
helper()

0 comments on commit 21ba6f3

Please sign in to comment.