aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-02 15:14:38 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-02 15:14:38 +0800
commita93bf4ec45b1187185942d79828ab50ebbd8b828 (patch)
treeb06a397b78bfbd4d47c0953c92e2efe62e24a610
parent68010bd9b4e3b39ad0306366a95c91ebd57eecf6 (diff)
fix: propagate exit code from `dotnet run` in run.ps1
-rw-r--r--run.ps12
1 files changed, 2 insertions, 0 deletions
diff --git a/run.ps1 b/run.ps1
index f0c3652..460343f 100644
--- a/run.ps1
+++ b/run.ps1
@@ -218,3 +218,5 @@ edition = "2024"
dotnet run --project "$temp_dir/$target_name.csproj" -- $script_args
}
}
+
+exit $LASTEXITCODE