Commit 71010ee
authored
Exclude 'patching_as_code' fact from running on Darwin systems (#93)
Previously, the 'patching_as_code' fact was executing on all operating systems, including Darwin (macOS) systems. However, the fact is not applicable to Darwin systems, and executing it on those platforms can cause unnecessary overhead.
This commit modifies the fact code by adding the necessary conditions to exclude the 'patching_as_code' fact from running on Darwin systems. The fact will now only execute on Windows and Linux systems, improving efficiency and avoiding any potential issues on unsupported platforms.
By excluding the 'patching_as_code' fact from running on Darwin systems, we ensure that the fact execution is limited to the relevant operating systems, aligning with the intended behavior of the code.1 parent 901174b commit 71010ee
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
0 commit comments