Skip to content

Commit

Permalink
Ensure deploy directories are created when switching projects (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 authored Oct 7, 2023
1 parent a755296 commit 59887f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,8 @@ class _HomePageState extends State<HomePage> 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 {
Expand Down

0 comments on commit 59887f4

Please sign in to comment.