Skip to content

Commit

Permalink
🐛 fix type in chart-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed May 22, 2024
1 parent 3847b30 commit 1199482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/staging_sync/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ def _matches_include_exclude(chart: gm.Chart, session: Session, include: Optiona
return True


def _get_staging_created_at(source: Path, staging_created_at: Optional[str]) -> dt.datetime:
def _get_staging_created_at(source: str, staging_created_at: Optional[str]) -> dt.datetime:
if staging_created_at is None:
if not source.exists():
if not Path(source).exists():
return _get_git_branch_creation_date(str(source).replace("staging-site-", ""))
else:
log.warning(
Expand Down

0 comments on commit 1199482

Please sign in to comment.