Skip to content

Commit c941963

Browse files
niheavenAsh258
andauthored
Add 'return'
Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
1 parent 0cacd50 commit c941963

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ function Get-AbsolutePath {
357357
[String]
358358
$Path
359359
) # should be ~ rooted
360-
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($Path)
360+
return $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($Path)
361361
}
362362
function relpath($path) { "$($myinvocation.psscriptroot)\$path" } # relative to calling script
363363
function friendly_path($path) {

0 commit comments

Comments
 (0)