Permalink
Browse files

Fail if env variable not found

  • Loading branch information...
haal authored and mhamilton723 committed Oct 6, 2018
1 parent a9e5c43 commit a0332fb0becc8c064e80eb044b8a482ddcad135b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/env/src/main/scala/EnvironmentUtils.scala
@@ -18,7 +18,7 @@ object EnvironmentUtils {
val nvsmicmd = if (IsWindows) {
// Unlikely nvidia is on the path
val nvsmi = Paths.get(
sys.env.getOrElse("ProgramFiles", null),
sys.env("ProgramFiles"),
"NVIDIA Corporation",
"NVSMI",
"nvidia-smi.exe").toAbsolutePath.toString

0 comments on commit a0332fb

Please sign in to comment.