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

(GH-10580) Remove extraneous example code #10581

Merged

Conversation

michaeltlombardi
Copy link
Contributor

@michaeltlombardi michaeltlombardi commented Oct 26, 2023

PR Summary

Prior to this change, the about_Automatic_Variables article included an unnecessary Out-Null in a loop example. Using Out-Null in this case implies that the Reset() method returns output, which it doesn't.

This change:

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

Prior to this change, the `about_Automatic_Variables` article included
an unnecessary `Out-Null` in a loop example. Using `Out-Null` in this
case implies that the `Reset()` method returns output, which it
doesn't.

This change:

- Removes the unnecessary `Out-Null` from the example.
- Resolves MicrosoftDocs#10580
- Fixes AB#174090
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit d82e627:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md ✅Succeeded View (powershell-5.1)
reference/7.2/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md ✅Succeeded View (powershell-7.2)
reference/7.3/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md ✅Succeeded View (powershell-7.3)
reference/7.4/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md ✅Succeeded View (powershell-7.4)

For more details, please refer to the build report.

For any questions, please:

@sdwheeler sdwheeler merged commit b145bd4 into MicrosoftDocs:main Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unnecessary code in Example 4 of about_Automatic_Variables
2 participants