This is an automated email from the ASF dual-hosted git repository.
hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new 9c5323cf2 =sbt Fix sbt loading on Windows.
9c5323cf2 is described below
commit 9c5323cf233a09b65f5cc712b38295ace6bbd910
Author: 虎鸣 <[email protected]>
AuthorDate: Mon Aug 7 20:33:00 2023 +0800
=sbt Fix sbt loading on Windows.
---
project/Dependencies.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 19bbe4efc..a7808b4ec 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -24,7 +24,7 @@ object Dependencies {
val h2specVersion = "2.6.0"
val h2specName = s"h2spec_${DependencyHelpers.osName}_amd64"
val h2specExe = "h2spec" + DependencyHelpers.exeIfWindows
- val h2specArtifactExtension = if (h2specExe == "exe") "zip" else "tar.gz"
+ val h2specArtifactExtension = if (h2specExe.endsWith("exe")) "zip" else
"tar.gz"
val h2specUrl =
s"https://github.com/summerwind/h2spec/releases/download/v$h2specVersion/$h2specName.$h2specArtifactExtension"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]