lock-file

This commit is contained in:
Thijs Stobbelaar 2023-11-13 10:06:27 +01:00
parent 254516e465
commit 478b9d4909
2 changed files with 10 additions and 8 deletions

View file

@ -1,12 +1,13 @@
. .\..\includes\ps1\lockfile.ps1
new-lock
if ($PSScriptRoot.length -eq 0) {
if ($PSScriptRoot.length -eq 0) {
$scriptroot = Get-Location
}
else {
$scriptroot = $PSScriptRoot
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock
# Read the content of the file as a single string
$fileContent = Get-Content -Path "$scriptroot/../config/config.php" -Raw