mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
update markdown tests (#7838)
update markdown tests - explicitly use gulp 4.0 beta because 3.9 depends on a vulnerable package
This commit is contained in:
@@ -186,16 +186,19 @@ If you copy `netstandard.dll` from this directory to the directory containing
|
||||
get it to reload `MyModule.dll`.
|
||||
|
||||
1. Copy the `netstandard.dll` implementation assembly for .NET 4.6.1 to the module's directory.
|
||||
|
||||
```powershell
|
||||
cd 'path-to-where-you-copied-module.dll'
|
||||
Copy-Item 'C:\Program Files\dotnet\sdk\<version-number>\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\netstandard.dll' .
|
||||
```
|
||||
|
||||
1. Import the module and execute the command:
|
||||
|
||||
```powershell
|
||||
Import-Module .\MyModule.dll
|
||||
Write-TimestampedMessage "Test message."
|
||||
```
|
||||
|
||||
Now the command should succeed.
|
||||
|
||||
Note: If it fails, restart Windows PowerShell to make sure
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
- Use `Squash and merge` by default to keep clean commit history in Master branch.
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
- Use `Create a merge commit` for feature-work PRs **only if** the commit history of the PR is reasonably clean.
|
||||
After using this option, GitHub will make it your default option for merging a PR.
|
||||
Do remember to change the default back to `Squash and merge`.
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
- Avoid `Rebase and merge` unless you have a strong argument for using it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user