mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
fix: wrong check when calling --debug with ignore_folders set
wrong check when calling --debug with ignore_folders set
This commit is contained in:
parent
94ae5ed0b4
commit
82635cd5ec
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue