mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
fixup windows
This commit is contained in:
@@ -614,12 +614,12 @@ func (extraction *Extraction) extractFileInfo(tw *trap.Writer, file string) {
|
||||
}
|
||||
if i == len(components)-1 {
|
||||
stem, ext := stemAndExt(component)
|
||||
lbl := tw.Labeler.FileLabelFor(path)
|
||||
lbl := tw.Labeler.FileLabelFor(file)
|
||||
dbscheme.FilesTable.Emit(tw, lbl, path, stem, ext, 0)
|
||||
dbscheme.ContainerParentTable.Emit(tw, parentLbl, lbl)
|
||||
dbscheme.HasLocationTable.Emit(tw, lbl, emitLocation(tw, lbl, 0, 0, 0, 0))
|
||||
extraction.Lock.Lock()
|
||||
slbl := extraction.StatWriter.Labeler.FileLabelFor(path)
|
||||
slbl := extraction.StatWriter.Labeler.FileLabelFor(file)
|
||||
dbscheme.CompilationCompilingFilesTable.Emit(extraction.StatWriter, extraction.Label, extraction.GetFileIdx(path), slbl)
|
||||
extraction.Lock.Unlock()
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user