Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically include default path #742

Closed
BernieWhite opened this issue Jul 1, 2021 · 0 comments · Fixed by #759
Closed

Automatically include default path #742

BernieWhite opened this issue Jul 1, 2021 · 0 comments · Fixed by #759
Assignees
Labels
enhancement New feature or request feature: core Issues that affect the core engine
Milestone

Comments

@BernieWhite
Copy link
Member

Currently when calling PSRule cmdlets files are included from the current working path when -Path is not specified.
If -Module is specified the current working path in not included.

The recommended path for storing rules in a repository is ./.ps-rule/. We should include this path regardless of if -Path or -Module is used.

@BernieWhite BernieWhite added the enhancement New feature or request label Jul 1, 2021
@BernieWhite BernieWhite modified the milestone: v1.5.0 Jul 1, 2021
@BernieWhite BernieWhite added feature: language Issues that affect language such keywords and variables feature: core Issues that affect the core engine and removed feature: language Issues that affect language such keywords and variables labels Jul 29, 2021
@BernieWhite BernieWhite self-assigned this Jul 31, 2021
@BernieWhite BernieWhite added this to the v1.6.0 milestone Jul 31, 2021
BernieWhite added a commit to BernieWhite/PSRule that referenced this issue Jul 31, 2021
@BernieWhite BernieWhite mentioned this issue Aug 10, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: core Issues that affect the core engine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant