Skip to content

Commit a81d2ef

Browse files
authored
Use string interpolation to make source call in pwsh more readable
1 parent f31e030 commit a81d2ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/common.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ function Initialize-VirtualEnvironment {
2020
Write-Host "Creating virtual environment..."
2121
python -m venv $VenvPath
2222
}
23-
23+
2424
# Activate virtual environment
2525
try {
2626
if ($IsWindows) {
2727
& "$VenvPath/Scripts/Activate.ps1"
2828
} else {
29-
& bash -c 'source "'+$VenvPath+'/bin/activate"'
29+
& bash -c "source '$VenvPath/bin/activate'"
3030
}
3131
Write-Host "Virtual environment activated"
3232
return $true

scripts/seed-database.ps1

100644100755
File mode changed.

0 commit comments

Comments
 (0)