Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterDreeeam committed Mar 2, 2023
1 parent 53088d1 commit 750c9e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agent/one-line-installer-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,9 @@ if (Test-Path -Path $RootPath)
# =======================================
# Copy Configuration File
# =======================================
if (-Not("$CurrentPath\application.yml"))
if (-Not(Test-Path -Path "$CurrentPath\application.yml"))
{
throw "Not found configuration file $CurrentPath\application.yml"
return
}
Copy-Item "$CurrentPath\application.yml" -Destination "$RootPath\application.yml"

Expand Down

0 comments on commit 750c9e0

Please sign in to comment.