Azure / Azure/nxtools

nxFile - *might* have a bug on the line setting file mode

Open
#46 1 comment 0 reactions 0 assignees View on GitHub
documentation
Dominant language
PowerShell
Stars
20
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I noticed what, to my eyes, looks like a bug.

https://github.com/Azure/nxtools/blob/main/source/Classes/1.DscResources/01.nxFile.ps1#L384

On that line, both recurse and force are being set to the value of the Force parameter, even though there are separate parameters available for both Recurse and Force. I'm not sure if this was intentional. Just thought i'd mention it.

Since I know about this quirk, I can guess what I should expect (in this case Recurse would be ignored)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.