From 4451920adafe0ce15d2fdbb74874955e7610d056 Mon Sep 17 00:00:00 2001 From: Sauyon Lee Date: Wed, 31 Mar 2021 08:56:34 -0700 Subject: [PATCH] fixup windows --- extractor/extractor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extractor/extractor.go b/extractor/extractor.go index 2697d4ae7cc..5f08b2c5c66 100644 --- a/extractor/extractor.go +++ b/extractor/extractor.go @@ -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