lock-file
This commit is contained in:
parent
957ec7c486
commit
1f8c614f49
2 changed files with 10 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue