Skip to content

Commit 64e9150

Browse files
committed
Fix build issue
1 parent 08bf147 commit 64e9150

File tree

1 file changed

+1
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.Url

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Url/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class Main : IPlugin, IPluginI18n, ISettingProvider
4141
// resource path
4242
"(?:/\\S*)?" +
4343
"$";
44-
Regex reg = new Regex(urlPattern, RegexOptions.Compiled | RegexOptions.IgnoreCase);
44+
private readonly Regex UrlRegex = new(UrlPattern, RegexOptions.Compiled | RegexOptions.IgnoreCase);
4545
internal static PluginInitContext Context { get; private set; }
4646
internal static Settings Settings { get; private set; }
4747

0 commit comments

Comments
 (0)