From a8ef55550fca1d75706dc9447cec9953d9cb648e Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 9 Nov 2020 18:38:55 -0800 Subject: [PATCH] Typo --- desktop/package/linux/build-appimage.py | 2 +- desktop/package/macos/build.py | 2 +- desktop/package/windows/build.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/desktop/package/linux/build-appimage.py b/desktop/package/linux/build-appimage.py index 30c5de94..73164b55 100755 --- a/desktop/package/linux/build-appimage.py +++ b/desktop/package/linux/build-appimage.py @@ -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")) diff --git a/desktop/package/macos/build.py b/desktop/package/macos/build.py index f9af29c5..0ba23129 100755 --- a/desktop/package/macos/build.py +++ b/desktop/package/macos/build.py @@ -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")) diff --git a/desktop/package/windows/build.py b/desktop/package/windows/build.py index c4d1fd89..9dd467f2 100644 --- a/desktop/package/windows/build.py +++ b/desktop/package/windows/build.py @@ -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"))