Skip to content

Commit 5f19399

Browse files
committed
Enable Verbose logging on Smoke test
1 parent ebd38d6 commit 5f19399

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

deploy/Invoke-SmokeTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Describe 'New-PowerShellScriptModuleRepository' {
2626
$expectedModuleTestsFilePath = Join-Path -Path $expectedModuleDirectoryPath -ChildPath "$moduleName.Tests.ps1"
2727

2828
# Act.
29-
New-PowerShellScriptModuleRepository -RepositoryDirectoryPath $repositoryDirectoryPath -ModuleName $moduleName -OrganizationName $organizationName
29+
New-PowerShellScriptModuleRepository -RepositoryDirectoryPath $repositoryDirectoryPath -ModuleName $moduleName -OrganizationName $organizationName -Verbose
3030

3131
# Assert.
3232
$expectedModuleDirectoryPath | Should -Exist

src/ScriptModuleRepositoryTemplate/ScriptModuleRepositoryTemplate.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ function CopyTemplateFilesToRepositoryRoot([string] $repositoryDirectoryPath)
6868
[string] $templateModuleDirectoryPath = "$PSScriptRoot\TemplateRepoFiles"
6969
if (Test-Path -Path $templateModuleDirectoryPath -PathType Container)
7070
{
71+
Write-Verbose "Copying the template repository files from '$templateModuleDirectoryPath' to the repository directory '$repositoryDirectoryPath'."
7172
Copy-Item -Path $templateModuleDirectoryPath\* -Destination $repositoryDirectoryPath -Recurse -Force
7273
}
7374
}

0 commit comments

Comments
 (0)