fix: wrong check when calling --debug with ignore_folders set

wrong check when calling --debug with ignore_folders set
This commit is contained in:
Laurent Nullens 2021-01-04 15:49:31 +01:00 committed by Jan De Dobbeleer
parent 94ae5ed0b4
commit 82635cd5ec

View file

@ -175,7 +175,7 @@ func (e *engine) debug() {
for _, segment := range block.Segments {
err := segment.mapSegmentWithWriter(e.env)
if err != nil || segment.shouldIgnoreFolder(e.env.getcwd()) {
return
continue
}
var segmentTiming SegmentTiming
segmentTiming.name = string(segment.Type)