diff --git a/robotpy_installer/cli_deploy.py b/robotpy_installer/cli_deploy.py index 9b85910..53bbf2e 100644 --- a/robotpy_installer/cli_deploy.py +++ b/robotpy_installer/cli_deploy.py @@ -166,6 +166,12 @@ def run( team: typing.Optional[int], no_resolve: bool, ): + if main_file.parent == pathlib.Path.home(): + print_err( + "ERROR: running 'deploy' from your home directory is not supported!" + ) + return False + # run the test suite before uploading if not skip_tests: test_args = [