Skip to content

Commit 2ef6225

Browse files
committed
Update script initialization script to suppress warnings and give better instructions
1 parent dbd3d85 commit 2ef6225

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

_InitializeRepository.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
# Run this script to replace the default template repository values with values specific to your module.
1+
# Run this script to setup the repository for your module.
2+
3+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingWriteHost', '')]
4+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions', '')]
5+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseSingularNouns', '')]
6+
Param()
27

38
Process
49
{
5-
Write-Host -ForegroundColor Green "
10+
Write-Host -ForegroundColor Yellow "
611
This script will delete all files in this repo and replace them with template files specific to your module.
712
If you have made changes to any files you may want to commit them before continuing, as this script will likely overwrite them.
813
"

0 commit comments

Comments
 (0)