Skip to content

Commit

Permalink
Fix copyright and license sometimes not being automatically imported
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf committed Jan 11, 2024
1 parent ce88cb8 commit 26e874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public async Task Paste()
var codebase = pathStrings[2];

// We aren't trying to match tags so we should be safe from Zalgo
var lastCommitRegex = new Regex($"\"/{owner}/{codebase}/commit/([a-zA-Z0-9]+)\"", RegexOptions.None, TimeSpan.FromSeconds(10));
var lastCommitRegex = new Regex($"\"/{owner}/{codebase}/commit/([a-zA-Z0-9]+)", RegexOptions.None, TimeSpan.FromSeconds(10));
var match = lastCommitRegex.Match(html);

if (match.Success)
Expand Down

0 comments on commit 26e874f

Please sign in to comment.