Skip to content

Commit 7982525

Browse files
committed
fix
1 parent a9b5cba commit 7982525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sbt-plugin/src/main/scala/ch/epfl/scala/GithubDependencyGraphPlugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ object GithubDependencyGraphPlugin extends AutoPlugin {
2525
Configurations.System
2626
)
2727
.map(_.toConfigRef)
28+
2829
object autoImport {
2930
val githubSubmitInputKey: AttributeKey[SubmitInput] = AttributeKey("githubSubmitInput")
3031
val githubBuildFile: AttributeKey[githubapi.FileInfo] = AttributeKey("githubBuildFile")
@@ -219,7 +220,6 @@ object GithubDependencyGraphPlugin extends AutoPlugin {
219220

220221
private def githubCIEnv(name: String): String =
221222
Properties.envOrNone(name).getOrElse {
222-
""
223-
// throw new MessageOnlyException(s"Missing environment variable $name. This task must run in a Github Action.")
223+
throw new MessageOnlyException(s"Missing environment variable $name. This task must run in a Github Action.")
224224
}
225225
}

0 commit comments

Comments
 (0)