You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BernieWhite
changed the title
Failure to discover yaml options file in dotted directory name
Failure to discover YAML options file in dotted directory
Jul 3, 2019
Description of the issue
When an default options file such as
ps-rule.yaml
is stored within a directory with a dotted name the file is not found.For example
C:\Temp\Rules.Test
.When a trailing slash is added the options file is correctly discovered. i.e.
C:\Temp\Rules.Test\
.This is because the dotted directory name is incorrectly considered a file path instead of a directly path.
To Reproduce
Steps to reproduce the issue:
Expected behaviour
The options file should be discovered in both scenarios.
Error output
Capture any error messages and or verbose messages with
-Verbose
.Module in use and version:
Captured output from
$PSVersionTable
:The text was updated successfully, but these errors were encountered: