Skip to content

Commit 1766069

Browse files
authored
Clarify note on Resolve-Path usage
Updated note on Resolve-Path to clarify functionality.
1 parent f925f88 commit 1766069

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/AzOps.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (Test-Path (Resolve-PSFPath -Path "$($script:ModuleRoot)\..\.git" -SingleItem
77
if ($AzOps_dotsourcemodule) { $script:doDotSource = $true }
88

99
<#
10-
Note on Resolve-Path:
10+
Note on Resolve-Path: some legit code
1111
All paths are sent through Resolve-Path/Resolve-PSFPath in order to convert them to the correct path separator.
1212
This allows ignoring path separators throughout the import sequence, which could otherwise cause trouble depending on OS.
1313
Resolve-Path can only be used for paths that already exist, Resolve-PSFPath can accept that the last leaf my not exist.
@@ -78,4 +78,4 @@ if ($importIndividualFiles)
7878

7979
#region Load compiled code
8080
"<compile code into here>"
81-
#endregion Load compiled code
81+
#endregion Load compiled code

0 commit comments

Comments
 (0)