Skip to content

Commit

Permalink
Fix exception when downloading file for a new target (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Mar 19, 2021
1 parent 2a2b0ab commit eeb3f31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nanoFirmwareFlasher/FirmwarePackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ protected async System.Threading.Tasks.Task<ExitCodes> DownloadAndExtractAsync()
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
".nanoFramework",
_targetName);

Directory.CreateDirectory(LocationPath);
}
catch
{
Expand Down

0 comments on commit eeb3f31

Please sign in to comment.