lock file feature
This commit is contained in:
parent
6dffd64ddb
commit
f505eb9268
5 changed files with 50 additions and 6 deletions
|
|
@ -1,3 +1,6 @@
|
|||
. .\..\includes\ps1\lockfile.ps1
|
||||
|
||||
new-lock
|
||||
|
||||
if ($PSScriptRoot.length -eq 0) {
|
||||
$scriptroot = Get-Location
|
||||
|
|
@ -172,4 +175,5 @@ foreach ($file in $difference) {
|
|||
write-output "removing $scriptroot/../data/telemetry_cache/$file"
|
||||
Remove-Item -Path "$scriptroot/../data/telemetry_cache/$file"
|
||||
}
|
||||
write-output "Operation complete"
|
||||
write-output "Operation complete"
|
||||
remove-lock
|
||||
Loading…
Add table
Add a link
Reference in a new issue