Skip to content

Commit e7d24cd

Browse files
authored
Merge pull request #421 from rstudio/fix-appstore-version-scope
fix appstore version variable scope
2 parents 4accf4c + c6f8b63 commit e7d24cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rsconnect/api.py

+1
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ def validate_app_mode(self, *args, **kwargs):
848848
raise RSConnectException("Specify either a new deploy or an app ID but not both.")
849849

850850
existing_app_mode = None
851+
app_store_version = 0
851852
if not new:
852853
if app_id is None:
853854
# Possible redeployment - check for saved metadata.

0 commit comments

Comments
 (0)