From 59887f4c5a9b8d544ef7da630740f28bd76f9493 Mon Sep 17 00:00:00 2001 From: Michael Jansen Date: Sat, 7 Oct 2023 11:42:32 -0400 Subject: [PATCH] Ensure deploy directories are created when switching projects (#373) --- lib/pages/home_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index 1dcc6401..c07f975a 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -522,6 +522,8 @@ class _HomePageState extends State with TickerProviderStateMixin { } }); + await _deployDir.create(recursive: true); + // Assure that a navgrid file is present File navgridFile = fs.file(join(_deployDir.path, 'navgrid.json')); navgridFile.exists().then((value) async {