Skip to content

Commit

Permalink
Mulighet for self proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhoh committed Jun 13, 2024
1 parent 3ebf4ee commit 40d9b60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions start_vscode_dbt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ if ($args[1]) {
$schema = $args[1].ToUpper()
Write-Host "Setting schema to: $schema"
} else {
Write-Host "Missing schema. Pass schema as second argument this script."
exit
Write-Host "Missing schema. Assuming self-proxy."
# exit
}


Expand Down Expand Up @@ -88,7 +88,7 @@ $target = $target.ToUpper()
#Database creds
$creds = Get-Credential
$username = $creds.Username
If ($username.ToUpper() -ne $schema.ToUpper()) {
If ($schema) {
$username += "[$schema]"
}

Expand Down

0 comments on commit 40d9b60

Please sign in to comment.