Skip to content

Commit

Permalink
let us try this
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Dec 18, 2024
1 parent 4312596 commit 4e56823
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion activated.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ $command = $args[0]
$parameters = [System.Collections.ArrayList]$args
$parameters.RemoveAt(0)

& $script_directory/venv/Scripts/Activate.ps1
if (Test-Path -Path $script_directory/venv) {
& $script_directory/venv/Scripts/Activate.ps1
}
& $command @parameters

exit $LASTEXITCODE

0 comments on commit 4e56823

Please sign in to comment.