Skip to content

Commit cd9786a

Browse files
committed
C#: Assets paths should contain at least one character.
1 parent 8a8031d commit cd9786a

File tree

1 file changed

+1
-1
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public bool Exec(string execArgs)
128128
[GeneratedRegex("Restored\\s+(.+\\.csproj)", RegexOptions.Compiled)]
129129
private static partial Regex RestoredProjectRegex();
130130

131-
[GeneratedRegex("[Assets\\sfile\\shas\\snot\\schanged.\\sSkipping\\sassets\\sfile\\swriting.|Writing\\sassets\\sfile\\sto\\sdisk.]\\sPath:\\s(.*)", RegexOptions.Compiled)]
131+
[GeneratedRegex("[Assets\\sfile\\shas\\snot\\schanged.\\sSkipping\\sassets\\sfile\\swriting.|Writing\\sassets\\sfile\\sto\\sdisk.]\\sPath:\\s(.+)", RegexOptions.Compiled)]
132132
private static partial Regex AssetsFileRegex();
133133
}
134134
}

0 commit comments

Comments
 (0)