Skip to content

Commit

Permalink
Update ZxcvbnScriptContributor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
realLiangshiwei committed Sep 19, 2023
1 parent 3226676 commit 6356592
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;

namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Zxcvbn;
Expand All @@ -6,6 +7,6 @@ public class ZxcvbnScriptContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
context.Files.Add("/libs/zxcvbn/zxcvbn.js");
context.Files.AddIfNotContains("/libs/zxcvbn/zxcvbn.js");
}

Check warning on line 11 in framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Zxcvbn/ZxcvbnScriptContributor.cs

View check run for this annotation

Codecov / codecov/patch

framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/Zxcvbn/ZxcvbnScriptContributor.cs#L9-L11

Added lines #L9 - L11 were not covered by tests
}

0 comments on commit 6356592

Please sign in to comment.