Skip to content

Commit f14f5ee

Browse files
committed
refactor: Update function name
1 parent 50d4642 commit f14f5ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_InitializeRepository.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you have made changes to any files you may want to commit them before continu
1515
[string] $organizationName = Read-Host -Prompt "Enter your name, or the the name of your organization (e.g. 'My Company'). This will be used in the module manifest and repository license"
1616

1717
Write-Information "Copying template repository module files to a temporary location to run it from."
18-
[string] $tempModuleDirectoryPath = CopyTemplateModuleFilesToTempDirectory -templateModuleDirectoryPath $TemplateModuleDirectoryPath
18+
[string] $tempModuleDirectoryPath = CopyTemplateModuleFilesToTemporaryDirectory -templateModuleDirectoryPath $TemplateModuleDirectoryPath
1919

2020
Write-Information "Removing all files from this repository so they can be replaced with template repository files."
2121
RemoveAllUnnecessaryRepositoryFiles -repositoryDirectoryPath $RepositoryDirectoryPath
@@ -41,7 +41,7 @@ Begin
4141
[string] $TemplateModuleName = 'ScriptModuleRepositoryTemplate'
4242
[string] $TemplateModuleDirectoryPath = "$RepositoryDirectoryPath\src\$TemplateModuleName"
4343

44-
function CopyTemplateModuleFilesToTempDirectory([string] $templateModuleDirectoryPath)
44+
function CopyTemplateModuleFilesToTemporaryDirectory([string] $templateModuleDirectoryPath)
4545
{
4646
[string] $templateModuleName = Split-Path -Path $templateModuleDirectoryPath -Leaf
4747
[string] $tempModuleDirectoryPath = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), (New-Guid).Guid, $templateModuleName)

0 commit comments

Comments
 (0)