Skip to content

Commit

Permalink
Merge pull request #767 from stevenh/fix/windows-recursive
Browse files Browse the repository at this point in the history
fix: recursive config failure on windows
  • Loading branch information
LandonTClipp committed Mar 12, 2024
2 parents 8b86cf2 + 426dc32 commit 9dd9b1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/config/config.go
Expand Up @@ -6,6 +6,7 @@ import (
"errors"
"fmt"
"os"
"path/filepath"
"reflect"
"regexp"
"strings"
Expand Down Expand Up @@ -661,7 +662,7 @@ func (c *Config) subPackages(
return nil, fmt.Errorf("failed to make subroot relative to root: %w", err)
}
absolutePackageName := packageRootName.Join(relativeFilesystemPath.Parts()...)
subPackages = append(subPackages, absolutePackageName.String())
subPackages = append(subPackages, filepath.ToSlash(absolutePackageName.String()))
}

return subPackages, nil
Expand Down

0 comments on commit 9dd9b1e

Please sign in to comment.