Formatting and agility

skip scoop in VSCode
Fix CovertFrom-TimeSpan to handle series and FieldName
This commit is contained in:
lksz 2021-04-20 23:43:17 +00:00
parent c9d13f5c4d
commit 2f317c53f3
2 changed files with 27 additions and 16 deletions

View file

@ -1,7 +1,9 @@
scoop autocomplete-on
if( Test-Path (Join-Path $env:SCOOP last-scoop-refresh.clixml) ) {
scoop refresh
if($Host.Name -ne 'Visual Studio Code Host' ) {
scoop refresh
}
} else {
Write-Warning ("No recorded time for last 'scoop refresh', to remedy, run 'scoop refresh' at least once manually." +
"`nIf the issue still persists, please run 'scoop alias-update' to update to latest refresh code, and try again.")