mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-03 15:27:26 -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 {
|
for _, segment := range block.Segments {
|
||||||
err := segment.mapSegmentWithWriter(e.env)
|
err := segment.mapSegmentWithWriter(e.env)
|
||||||
if err != nil || segment.shouldIgnoreFolder(e.env.getcwd()) {
|
if err != nil || segment.shouldIgnoreFolder(e.env.getcwd()) {
|
||||||
return
|
continue
|
||||||
}
|
}
|
||||||
var segmentTiming SegmentTiming
|
var segmentTiming SegmentTiming
|
||||||
segmentTiming.name = string(segment.Type)
|
segmentTiming.name = string(segment.Type)
|
||||||
|
|
Loading…
Reference in a new issue