Skip to content

Commit

Permalink
fix: fullpath excavator break
Browse files Browse the repository at this point in the history
- Closes #25
  • Loading branch information
Ash258 committed May 21, 2020
1 parent cbf2c55 commit 586ea92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/core.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ function versiondir($app, $version, $global) { "$(appdir $app $global)\$version"
function persistdir($app, $global) { "$(basedir $global)\persist\$app" }
function usermanifestsdir { "$(basedir)\workspace" }
function usermanifest($app) { "$(usermanifestsdir)\$app.json" }
function cache_path($app, $version, $url) { "$cachedir\$app#$version#$($url -replace '[^\w\.\-]+', '_')" }
function cache_path($app, $version, $url) {
return Join-Path $SCOOP_CACHE_DIRECTORY "$app#$version#$($url -replace '[^\w\.\-]+', '_')"
}

# apps
function sanitary_path($path) { return [regex]::replace($path, "[/\\?:*<>|]", "") }
Expand Down

0 comments on commit 586ea92

Please sign in to comment.