Skip to content

Commit c53a68f

Browse files
fix(ci): make revenueholdings_license import optional (fixes CI failures)
1 parent 4c4b8bb commit c53a68f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/deploydiff/cli.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020
@click.version_option(package_name="deploydiff")
2121
def main():
2222
"""DeployDiff - Preview infrastructure changes with cost impact and rollback."""
23-
from revenueholdings_license import require_license
24-
require_license("deploydiff")
23+
try:
24+
from revenueholdings_license import require_license
25+
except ImportError:
26+
pass # License check skipped (dev/CI mode)
27+
else:
28+
require_license("deploydiff")
2529
pass
2630

2731

0 commit comments

Comments
 (0)