We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Folder
Compilation
1 parent cac7262 commit ec7e38cCopy full SHA for ec7e38c
1 file changed
csharp/extractor/Semmle.Extraction.CSharp/Entities/Compilations/Compilation.cs
@@ -32,9 +32,13 @@ public override void Populate(TextWriter trapFile)
32
{
33
var assembly = Assembly.CreateOutputAssembly(Context);
34
35
- trapFile.compilations(this, FileUtils.ConvertToUnix(cwd));
+ var path = Context.ExtractionContext.PathTransformer.Transform(cwd);
36
+ trapFile.compilations(this, path.Value);
37
trapFile.compilation_assembly(this, assembly);
38
39
+ // Ensure that a `Folder` entity exists
40
+ Folder.Create(Context, path);
41
+
42
// Arguments
43
var expandedIndex = 0;
44
for (var i = 0; i < args.Length; i++)
0 commit comments