Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Aug 6, 2024
1 parent 9349e19 commit c85e449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GUI/Shared/Handlers/DabBuilder/DabBuilderHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public async System.Threading.Tasks.Task BuildDabConfigAsync(Project project)
options.ConnectionString = null;
await SaveOptionsAsync(project, optionsPath, options, userOptions);

if (!File.Exists(Path.Combine(options.ProjectPath, ".env"))
if (!File.Exists(Path.Combine(options.ProjectPath, ".env"))
&& await VS.MessageBox.ShowConfirmAsync("Create .env file with your connection string?", "Remember to exclude from source contol!"))
{
File.WriteAllText(Path.Combine(options.ProjectPath, ".env"), $"dab-connection-string={dbInfo.ConnectionString}");
Expand Down

0 comments on commit c85e449

Please sign in to comment.