This commit is contained in:
Micah Lee 2020-11-09 18:38:55 -08:00
parent 731d6391c3
commit a8ef55550f
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
if os.path.exist(os.path.join(cli_dir, "dist")):
if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "linux")):
shutil.rmtree(os.path.join(desktop_dir, "linux"))

View File

@ -34,7 +34,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
if os.path.exist(os.path.join(cli_dir, "dist")):
if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "macOS")):
shutil.rmtree(os.path.join(desktop_dir, "macOS"))

View File

@ -24,7 +24,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
if os.path.exist(os.path.join(cli_dir, "dist")):
if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "windows")):
shutil.rmtree(os.path.join(desktop_dir, "windows"))