From cd00fd3aa35914eed6efce8086f29bef32854451 Mon Sep 17 00:00:00 2001 From: Tanner Doshier Date: Tue, 14 Jan 2025 15:49:28 -0500 Subject: [PATCH] Lint fixes --- nava/platform/cli/commands/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nava/platform/cli/commands/app.py b/nava/platform/cli/commands/app.py index 4547e32..6bb61aa 100644 --- a/nava/platform/cli/commands/app.py +++ b/nava/platform/cli/commands/app.py @@ -172,5 +172,7 @@ def migrate_from_legacy( project, origin_template_uri=origin_template_uri, new_version_answers_file_name=app_name + ".yml", - legacy_version_file_name=legacy_version_file.relative_to(project.dir.resolve()), + legacy_version_file_name=str(legacy_version_file.relative_to(project.dir.resolve())) + if legacy_version_file + else None, ).migrate_from_legacy(commit=commit)