From 8c1f727931d4e2ce106d47b643a8b0feae49cdb5 Mon Sep 17 00:00:00 2001 From: blakeNaccarato Date: Fri, 17 Jan 2025 14:26:46 -0800 Subject: [PATCH] Try this --- dev.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev.ps1 b/dev.ps1 index 0c7b3e74..5f0a0408 100644 --- a/dev.ps1 +++ b/dev.ps1 @@ -143,8 +143,8 @@ function Invoke-Uv { Enter-Venv # ? Sync `.env` and set environment variables from `pyproject.toml` - $EnvVars = (dev sync-environment-variables) | Out-String - Write-Output $EnvVars + $EnvVars = dev 'sync-environment-variables' + Write-Output $EnvVars -replace "`n", " " $EnvVars | Set-Content ($Env:GITHUB_ENV ? $Env:GITHUB_ENV : "$PWD/.env") $EnvVars | Select-String -Pattern '^(.+?)=(.+)$' | ForEach-Object { $Key, $Value = $_.Matches.Groups[1].Value, $_.Matches.Groups[2].Value