Skip to content

Commit 1ea802e

Browse files
fix: correct app.json filename capitalization in error logging
1 parent b34bdad commit 1ea802e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

matrix/devel/release/command.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ def command(shell: DTShell, args, **kwargs):
7070
return
7171

7272
# read app.json
73-
json_fp = os.path.join(build_dir, f"{APP_NAME}.json")
73+
capitalized_app_name = APP_NAME.capitalize()
74+
json_fp = os.path.join(build_dir, f"{capitalized_app_name}.json")
7475
if not os.path.isfile(json_fp):
75-
dtslogger.error(f"File '{build_dir_rel}/{APP_NAME}.json' not found. "
76+
dtslogger.error(f"File '{build_dir_rel}/{capitalized_app_name}.json' not found. "
7677
f"Did you build the app?")
7778
return
7879

0 commit comments

Comments
 (0)